1
0
mirror of synced 2024-12-04 18:47:56 +01:00
bemaniutils/bemani/frontend/static/components/checkbox.react.js
2019-12-08 21:43:49 +00:00

15 lines
405 B
JavaScript

/** @jsx React.DOM */
var Checkbox = React.createClass({
render: function() {
return (
<span className={this.props.className} onClick={this.props.onClick}>
{this.props.checked ?
<span className="checkbox">&#9745;</span> :
<span className="checkbox">&#9744;</span>
}
</span>
);
},
});