1
0
mirror of synced 2024-12-21 10:25:54 +01:00
bemaniutils/bemani/frontend/static/components/delete.react.js

18 lines
468 B
JavaScript

/** @jsx React.DOM */
var Delete = createReactClass({
render: function() {
return (
<Button
className="delete"
style={this.props.style}
disabled={this.props.disabled}
onClick={function(event) {
this.props.onClick(event);
}.bind(this)}
title={this.props.title ? this.props.title : 'delete'}
/>
);
},
});