1
0
mirror of synced 2024-12-15 07:41:15 +01:00
bemaniutils/bemani/frontend/static/components/edit.react.js

18 lines
464 B
JavaScript
Raw Normal View History

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