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

20 lines
565 B
React
Raw Normal View History

var classNames = require('classnames');
var FRCRadioGroup = require('formsy-react-components').RadioGroup;
var React = require('react');
2016-06-02 15:25:02 -04:00
var defaultValidationHOC = require('./validations.jsx').defaultValidationHOC;
var RadioGroup = React.createClass({
type: 'RadioGroup',
render: function () {
var classes = classNames(
'radio-group',
this.props.className
);
return (
<FRCRadioGroup {... this.props} className={classes} />
);
}
});
2016-06-02 15:25:02 -04:00
module.exports = defaultValidationHOC(RadioGroup);