Input
Component that is based on react native TextInput
component.
Import
import { Input } from 'react-native-ficus-ui';
Usage
Props
Extends every Box
props and react native TextInput
component.
https://reactnative.dev/docs/textinput#props (opens in a new tab)
focusBorderColor
The border color when input is focused.
Type | Required |
---|---|
string | No |
focusBorderWidth
The border width when input is focused.
Type | Required | Default |
---|---|---|
number | No | 2 |
focusBorderStyle
The border style property when input is focused.
Type | Required | Default |
---|---|---|
"solid", "dashed", "dotted" | No | "solid" |