2019-12-08 22:43:49 +01:00
|
|
|
/** @jsx React.DOM */
|
|
|
|
|
2022-10-08 20:37:38 +02:00
|
|
|
var Button = createReactClass({
|
2019-12-08 22:43:49 +01:00
|
|
|
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>
|
|
|
|
);
|
|
|
|
},
|
|
|
|
});
|