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

20 lines
532 B
React
Raw Normal View History

var classNames = require('classnames');
var FRCRadioGroup = require('formsy-react-components').RadioGroup;
var React = require('react');
2016-05-13 18:48:21 -04:00
var validateMixin = require('./validateMixin.jsx');
var RadioGroup = React.createClass({
type: 'RadioGroup',
render: function () {
var classes = classNames(
'radio-group',
this.props.className
);
return (
<FRCRadioGroup {... this.props} className={classes} />
);
}
});
2016-05-13 18:48:21 -04:00
module.exports = validateMixin(RadioGroup);