orion-ui
orion-ui copied to clipboard
Add PasswordField
As a developer
I want to add password fields to my application
So that my users can safely enter a password
Typical usage
<PasswordField
label="Confirm password"
onChange={this.confirmPassword}
/>
Complete props
PasswordField.propTypes = {
name: PropTypes.string,
initialValue: PropTypes.bool,
instructions: PropTypes.string,
label: PropTypes.string,
required: PropTypes.string
disabled: PropTypes.bool,
onBlur: PropTypes.func,
onChange: PropTypes.func,
onFocus: PropTypes.func,
}
TODO
- [ ] Add PropTypes
- [ ] Add docgenInfo
- [ ] Add unit test coverage
- [ ] Add to playground
- [ ] Add to storybook
- [ ] With code sample
- [ ] With props table
- [ ] Canary build on NPM