orion-ui icon indicating copy to clipboard operation
orion-ui copied to clipboard

Add PasswordField

Open nfiniteset opened this issue 8 years ago • 0 comments

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

nfiniteset avatar Jul 17 '17 18:07 nfiniteset