WebInterface: awesome-bootstrap-checkbox
This commit is contained in:
@@ -102,6 +102,15 @@ var Button = React.createClass({
|
||||
}
|
||||
});
|
||||
|
||||
var Checkbox = React.createClass({
|
||||
render: function(){
|
||||
return (ce('div', {className: 'checkbox '+this.props.className},
|
||||
ce('input', {type: 'checkbox', id: this.props.id, defaultChecked: false}),
|
||||
ce('label', {htmlFor: this.props.id}, this.props.children)
|
||||
))
|
||||
}
|
||||
});
|
||||
|
||||
// -- Разное -- //
|
||||
|
||||
var ContentModule = React.createClass({
|
||||
|
||||
Reference in New Issue
Block a user