UNPKG

core-resource-app-test

Version:

App that contains assets and scripts for the core apps

20 lines (16 loc) 469 B
import React from 'react'; import Checkbox from 'material-ui/Checkbox'; // TODO: Rewrite as ES6 class /* eslint-disable react/prefer-es6-class */ export default React.createClass({ propTypes: { onChange: React.PropTypes.func.isRequired, }, render() { return ( <div style={{ marginTop: 12, marginBottom: 12 }}> <Checkbox onCheck={this.props.onChange} {...this.props} /> </div> ); }, });