- Customizable OTP input component for react-native-paper
- Built with react-native-paper components and TypeScript
- Supports custom styles
npm install react-native-paper-otp-input
or
yarn add react-native-paper-otp-input
import { PaperOtpInput } from 'react-native-paper-otp-input';
// You need to wrap it around scroll view for input blur to
//work properly
<PaperOtpInput
maxLength={4}
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