React Checkbox
- support ie8,ie8+,chrome,firefox,safari
var Checkbox = require('rc-checkbox');
var React = require('react');
React.render(<Checkbox />, container);| name | type | default | description |
|---|---|---|---|
| prefixCls | String | rc-checkbox | |
| className | String | '' | additional class name of root node |
| name | same with native input checkbox | ||
| checked | same with native input checkbox | ||
| defaultChecked | same with native input checkbox | ||
| onChange | same with native input checkbox |
npm install
npm start
http://localhost:8001/examples/
online example: http://react-component.github.io/checkbox/examples/
http://localhost:8001/tests/runner.html?coverage
rc-checkbox is released under the MIT license.
