mirror of
https://github.com/DragonMinded/bemaniutils.git
synced 2026-10-08 22:59:59 +03:00
Initial commit of BEMANI Utilities to GitHub.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
/** @jsx React.DOM */
|
||||
|
||||
var Toggle = React.createClass({
|
||||
render: function() {
|
||||
return (
|
||||
<Button
|
||||
className="toggle"
|
||||
disabled={this.props.disabled}
|
||||
onClick={function(event) {
|
||||
this.props.onClick(event);
|
||||
}.bind(this)}
|
||||
title={this.props.title ? this.props.title : 'toggle'}
|
||||
/>
|
||||
);
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user