Skip to main content

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

Required
onFinish

(code: string) => void;
Type
function

Required
length

Type
number

style

These styles will be applied to the input container view.

Type
View Style

dismissKeyboardOnFinish

TypeDefault
booleantrue

size

TypeDefault
number56

marginTop

Type
number

marginBottom

Type
number