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

19 lines
468 B
JavaScript

/** @jsx React.DOM */
var Button = React.createClass({
render: function() {
return (
<button
className={this.props.className}
style={this.props.style}
disabled={this.props.disabled}
onClick={function(event) {
this.props.onClick(event);
}.bind(this)}
>
{this.props.title}
</button>
);
},
});