OTP Input component for react native paper
npm install react-native-paper-otp-input- Customizable OTP input component for react-native-paper
- Built with react-native-paper components and TypeScript
- Supports custom styles
``sh`
npm install react-native-paper-otp-input
or
`sh`
yarn add react-native-paper-otp-input
`js
import { PaperOtpInput } from 'react-native-paper-otp-input';
// You need to wrap it around scroll view for input blur to
//work properly
onPinChange={(pin) => {
console.log('Pin is ready:', pin);
}}
/>;
``
Give this repository a star 🌟, if you found this package useful.
See the contributing guide to learn how to contribute to the repository and the development workflow.
- Vaibhav Sachdeva (@sachdevavaibhav)
MIT
---
Made with create-react-native-library