2019-12-08 22:43:49 +01:00
|
|
|
/** @jsx React.DOM */
|
|
|
|
|
2022-10-08 20:37:38 +02:00
|
|
|
var Delete = createReactClass({
|
2019-12-08 22:43:49 +01:00
|
|
|
render: function() {
|
|
|
|
return (
|
|
|
|
<Button
|
|
|
|
className="delete"
|
2022-12-03 23:02:37 +01:00
|
|
|
style={this.props.style}
|
2019-12-08 22:43:49 +01:00
|
|
|
disabled={this.props.disabled}
|
|
|
|
onClick={function(event) {
|
|
|
|
this.props.onClick(event);
|
|
|
|
}.bind(this)}
|
|
|
|
title={this.props.title ? this.props.title : 'delete'}
|
|
|
|
/>
|
|
|
|
);
|
|
|
|
},
|
|
|
|
});
|