Autodesk / orion-ui

UI Components that work seamlessly in multiple UI frameworks
https://goo.gl/shxHPB
Other
22 stars 6 forks source link

Add PasswordField #288

Open nfiniteset opened 7 years ago

nfiniteset commented 7 years ago
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