scratch-www/src/components/forms/radio-group.jsx

24 lines
631 B
React
Raw Normal View History

const classNames = require('classnames');
const FRCRadioGroup = require('formsy-react-components').RadioGroup;
const PropTypes = require('prop-types');
const React = require('react');
const defaultValidationHOC = require('./validations.jsx').defaultValidationHOC;
const inputHOC = require('./input-hoc.jsx');
require('./row.scss');
2016-06-23 07:27:43 -04:00
require('./radio-group.scss');
const RadioGroup = props => (
<FRCRadioGroup
className={classNames('radio-group', props.className)}
{... props}
/>
);
RadioGroup.propTypes = {
className: PropTypes.string
};
module.exports = inputHOC(defaultValidationHOC(RadioGroup));