react-native-full-pin
v1.1.9
Published
React Native Full Pin is a component to use Pin In your apps, with buttons, input, functions all in the same place.
Downloads
216
Maintainers
Readme
react-native-full-pin
Component to use Pin in your Apps, Easy to use, easy to customize and easy to manipulate.
How to install
# Using npm
npm install react-native-full-pin
# Or Using Yarn
yarn add react-native-full-pin
Usage
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>
);
}
Demo
Some examples of using React Native Full Pin, with default styles and with personalized styles.
Contributors
How to contribute
- Fork the Repo
- Clone it
- Make your changes
- Make the Pull Request and let's see how it works.