Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 437 Bytes

README.md

File metadata and controls

20 lines (17 loc) · 437 Bytes

GitHub CI

react-native-otp-input

This is a lag-free One Time Password component for react-native.

Usage

export const MyComponent = () => {
    const onSubmit = (code: string) => {
        console.log(code)
    }

    return (
        <OTPInput
            inputQuantity={4}
            onSubmit={onSubmit}
        />
    )
}