UNPKG

@navinc/base-react-components

Version:
12 lines (10 loc) 249 B
This input works just like the other input, but it adds a show/hide button. ``` <PasswordInput name="my-input" required isInvalid={this.state['my-input'].isInvalid} onChange={this.handleChange} value={this.state['my-input'].value} /> ```