Input
Component that is based on react native TextInput
component.
Import
import { Input } from 'react-native-ficus-ui';
Usage
With prefix
EDITABLE EXAMPLE
With suffix
EDITABLE EXAMPLE
Password
EDITABLE EXAMPLE
Custom border style
EDITABLE EXAMPLE
Textarea
EDITABLE EXAMPLE
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" |