Component to use Pin in your Apps, Easy to use, easy to customize and easy to manipulate.
# Using npm
npm install react-native-full-pin
# Or Using Yarn
yarn add react-native-full-pin
import FullPin from "react-native-full-pin";
export default function App() {
const [code, setCode] = useState([]);
return (
<View style={styles.container}>
<FullPin
pin={{
code,
pinLength: 4,
onChange: (e) => setCode(e),
}}
/>
</View>
);
}
Some examples of using React Native Full Pin, with default styles and with personalized styles.
- Fork the Repo
- Clone it
- Make your changes
- Make the Pull Request and let's see how it works.