40818419 / react-code-input

React component for entering and validating PIN code.
MIT License
314 stars 129 forks source link

Add readonly option to component #169

Open sosualfred opened 2 years ago

sosualfred commented 2 years ago

In some instances, one may want to display the code with the component without the ability for users to change the input. In such a scenario, the read-only option will be great.