0.1.1 • Published 12 months ago

@theboyofdream/rn-otp-input v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

@theboyofdream/rn-otp-input

Customizeable OTP input for react-native without refs/third-party dependancy.

Installation

npm install @theboyofdream/rn-otp-input
# OR
yarn add @theboyofdream/rn-otp-input
# OR
bun add @theboyofdream/rn-otp-input

Usage

import { OtpInput } from '@theboyofdream/rn-otp-input'

const [otp, setOtp] = useState('')

<OtpInput
        height={50}
        otpCount={4}
        value={otp}
        onChangeText={setOtp}
      />

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT


Made with create-react-native-library

0.1.1

12 months ago

0.1.0

12 months ago