znui-react-selector
v2.0.12
Published
Web selector component.
Downloads
3
Readme
znui-react-selector
Selector Component.
Demo
Installation
npm install znui-react-selector -s
Usage
var ReactDOM = require('react-dom');
var inputs = require('znui-react-selector');
ReactDOM.render(
<div>
<inputs.Checkbox checked={false} />
<inputs.Checkbox checked={true} />
<inputs.Radio data={[{value:1, text: '1'}, {value:2, text: '2'}]} dataType="Number" />
<inputs.Select value={2} data={[{value:1, text: 'A'}, {value:2, text: 'B'}]} />
<inputs.Checkboxs value={[2]} data={[{value:1, text: 'A'}, {value:2, text: 'B'}]} />
</div>,
document.getElementById('container'),
);
License
MIT