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