const classNames = require('classnames'); const React = require('react'); const styles = require('./style.css'); const Radio = ({ name, value, children, checked, disabled = false, className, id, onChange, style }) => { const cn = classNames( className, styles.radio ); return ( ); }; Radio.propTypes = { checked: React.PropTypes.bool, children: React.PropTypes.node, className: React.PropTypes.string, disabled: React.PropTypes.bool, id: React.PropTypes.string, name: React.PropTypes.string, onChange: React.PropTypes.func, style: React.PropTypes.object, value: React.PropTypes.string }; module.exports = Radio;