With updated deps

This commit is contained in:
Christian Alfoni
2014-08-20 19:50:48 +02:00
parent 6d6fca4856
commit d4fd322df6
24 changed files with 49826 additions and 3 deletions

View File

@@ -0,0 +1,21 @@
/** @jsx React.DOM */
var React = require('flux-react');
var ColoredCheckbox = React.createClass({
render: function() {
var style = {
backgroundColor: this.props.color,
padding: '5px'
};
return (
<span key={this.props.key} style={style}>
<input type="checkbox"
onChange={this.props.onChange.bind(null, this.props.color)}
checked={this.props.checked}/>
</span>
);
}
});
module.exports = ColoredCheckbox;