1
0
mirror of synced 2024-12-24 19:54:50 +01:00
bemaniutils/bemani/frontend/static/components/checkbox.react.js

15 lines
414 B
JavaScript
Raw Normal View History

/** @jsx React.DOM */
var Checkbox = createReactClass({
render: function() {
return (
<span className={this.props.className} onClick={this.props.onClick}>
{this.props.checked ?
<span className="checkbox">{ "\u2611" }</span> :
<span className="checkbox">{ "\u2610" }</span>
}
</span>
);
},
});