Sha256: 82deeb2f3225977d553b0b1c277990d96cc22445875a5939ca262c2e8478b618

Contents?: true

Size: 492 Bytes

Versions: 44

Compression:

Stored size: 492 Bytes

Contents

var React = require('react');
var Mui = require('material-ui');
var Paper = Mui.Paper;

var ColorCell = React.createClass({

    handlePickColor: function() {
        this.props.onPickColor(this.props.color);
    },

    render: function() {

        var style = {
            backgroundColor: this.props.color
        };

        return (

            <div className='color-cell' style={style} onTouchTap={this.handlePickColor} > </div>

        );

    }

});

module.exports = ColorCell;

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
nutella_framework-0.4.19 framework_components/roomcast-channel-creator/src/app/components/ColorCell.js
nutella_framework-0.4.18 framework_components/roomcast-channel-creator/src/app/components/ColorCell.js
nutella_framework-0.4.17 framework_components/roomcast-channel-creator/src/app/components/ColorCell.js
nutella_framework-0.4.16 framework_components/roomcast-channel-creator/src/app/components/ColorCell.js