CodeInput
CodeInputs are inputs used to enter numeric codes. They can be used to enter double-factor authentication codes.
Import
import { CodeInput } from '@nomada-sh/react-native-eyecandy';
Example
Props
RequiredonFinish
(code: string) => void;
Type |
---|
function |
Requiredlength
Type |
---|
number |
style
These styles will be applied to the input container view.
Type |
---|
View Style |
dismissKeyboardOnFinish
Type | Default |
---|---|
boolean | true |
size
Type | Default |
---|---|
number | 56 |
marginTop
Type |
---|
number |
marginBottom
Type |
---|
number |