Autodesk / orion-ui

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

Add Checkbox #282

Closed nfiniteset closed 7 years ago

nfiniteset commented 7 years ago
As a developer
I want to add checkboxes to my application
So that my users are able to interact with the application

Typical usage

<Checkbox
  disabled={false}
  onChange={this.handleCheckboxChange}
/>

Complete props

Checkbox.propTypes = {
  name: PropTypes.string,
  value: PropTypes.bool,
  label: PropTypes.string,
  checked: PropTypes.bool,
  required: PropTypes.string
  disabled: PropTypes.bool,
  onBlur: PropTypes.func,
  onChange: PropTypes.func,
  onFocus: PropTypes.func,
}

TODO

shannonwells commented 7 years ago

Canary build: - react-playground: 1.0.3 => 1.0.3-alpha.c35929b8 (private)

Merge: https://circleci.com/gh/Autodesk/orion-ui/1418