1.0.4 • Published 2 years ago
react-pin-widget v1.0.4
React Pin Widget
An easy to use Pin Component for React.
Installation
Using npm:
npm i --save react-pin-widget
Using yarn:
yarn add react-pin-widget
Usage
import ReactPin from 'react-pin-widget'
Properties
<ReactPin type='alphabet'/>
Values accepted
Used to style pin inputs
emits and event on every key input.
const fillHandler = (val) => {
console.log(val)
}
<ReactPin onFill={fillHandler}/>
Demo
https://react-components-playground.vercel.app/react-pin
Author: github.com/M-Blaze
Link to package: https://www.npmjs.com/package/react-pin-widget
Link to repository: https://github.com/M-Blaze/react-pin-widget