Archived
0

WebInterface: awesome-bootstrap-checkbox

This commit is contained in:
2017-05-24 00:48:50 +03:00
parent 2071e5c554
commit 2528148b53
4 changed files with 262 additions and 1 deletions

View File

@@ -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({