react-input-pin-code
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "react-input-pin-code", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Pin input built with React component and styled-components", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -15,2 +15,4 @@ # React Input Pin Code | ||
![image](https://user-images.githubusercontent.com/28497046/147468428-b1bb0e98-70a3-4874-b9e8-b9701fdb2781.png) | ||
[Here](https://luffy84217.github.io/react-input-pin-code/) to see documentation and examples. | ||
@@ -26,3 +28,5 @@ | ||
npm install react-input-pin-code styled-components | ||
``` | ||
or | ||
```bash | ||
yarn add react-input-pin-code styled-components | ||
@@ -163,5 +167,6 @@ ``` | ||
| autoTab | boolean | true | If true focus will move automatically to the next/previous input once filled or deleted | | ||
| errorBorderColor | string | | Let you customize border color when the input is invalid. | ||
| focusBorderColor | string | | Let you customize border color when the input is focused. | ||
| validBorderColor | string | | Let you customize border color when the input is valid. | ||
| borderColor | string | rgb(204,204,204) | Let you customize border color when the input is not focused. | ||
| errorBorderColor | string | rgb(220,53,69) | Let you customize border color when the input is invalid. | ||
| focusBorderColor | string | rgb(13,110,253) | Let you customize border color when the input is focused. | ||
| validBorderColor | string | rgb(25,135,84) | Let you customize border color when the input is valid. | ||
| disabled | boolean | | Renders component in disabled state. | | ||
@@ -168,0 +173,0 @@ | format | (char: string) => string | | Pure function to transform raw input. | |
70820
200