Skip to content

Commit b7ec947

Browse files
author
Tudor
committed
Update props documentation
1 parent 82c994d commit b7ec947

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@ yarn add [email protected]
9090
| `showCountdown` | boolean | false | Set this to true to show the allowed number of characters remaining |
9191
| `showCountdownStyles` | TextStyle | undefined | Set your styles to the countdown label |
9292
| `countdownLabel` | string | undefined | Set the label to be shown after the allowed number of characters remaining |
93-
| `countdownLabel` | string | undefined | Set the label to be shown after the allowed number of characters remaining |
9493
| `customShowPasswordComponent` | JSX.Element | undefined | Set your own JSX.Element to be the show password element |
95-
| `customShowPasswordComponent` | JSX.Element | undefined | Set your own JSX.Element to be the hide password element |
94+
| `customHidePasswordComponent` | JSX.Element | undefined | Set your own JSX.Element to be the hide password element |
9695
| `rightComponent` | JSX.Element | undefined | Add right component to your input. Be aware if using the input as password this component is positioned before the show/hide component |
9796
| `leftComponent` | JSX.Element | undefined | Add left component to your input. Usually used for displaying icon |
9897
| `togglePassword` | boolean | undefined | Prop for force toggling show/hide password. When set to true, shows the password, and when set to false hides it |
98+
| `animationDuration` | number | 300 | The duration of the animation in milliseconds |
9999

100100
### togglePassword : boolean
101101

0 commit comments

Comments
 (0)