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

24 lines
673 B
React
Raw Normal View History

2018-01-30 09:54:45 -05:00
var classNames = require('classnames');
var FRCRadioGroup = require('formsy-react-components').RadioGroup;
var React = require('react');
var defaultValidationHOC = require('./validations.jsx').defaultValidationHOC;
var inputHOC = require('./input-hoc.jsx');
require('./row.scss');
2016-06-23 07:27:43 -04:00
require('./radio-group.scss');
2018-01-30 09:54:45 -05:00
var RadioGroup = React.createClass({
type: 'RadioGroup',
render: function () {
var classes = classNames(
'radio-group',
this.props.className
);
return (
<FRCRadioGroup {... this.props} className={classes} />
);
}
});
module.exports = inputHOC(defaultValidationHOC(RadioGroup));