2019-12-08 22:43:49 +01:00
|
|
|
/** @jsx React.DOM */
|
|
|
|
|
|
|
|
var Edit = React.createClass({
|
|
|
|
render: function() {
|
|
|
|
return (
|
|
|
|
<Button
|
|
|
|
className="edit"
|
|
|
|
disabled={this.props.disabled}
|
|
|
|
onClick={function(event) {
|
|
|
|
this.props.onClick(event);
|
|
|
|
}.bind(this)}
|
2020-04-26 02:52:19 +02:00
|
|
|
title={this.props.title ? this.props.title : 'update'}
|
2019-12-08 22:43:49 +01:00
|
|
|
/>
|
|
|
|
);
|
|
|
|
},
|
|
|
|
});
|