New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-pin-code-input

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-pin-code-input

React component for entering and validating a PIN code.

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
1
Created
Source

react-pin-code-input

React component for entering and validating a PIN code.

Installation

npm i --save react-pin-code-input or yarn add react-pin-code-input

Important instructions

  • value has to be an state type Array(numberOfFields >= 1).fill('').
  • OnInputChange should update the value state.
  • Redefined pattern should consider empty and limit to 1 character. Template /^$|^(Your allowed key)$/

Storybook

https://albertsabate.github.io/react-pin-code-input/

License

MIT

Keywords

react

FAQs

Package last updated on 15 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts