mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-12-12 00:31:11 -05:00
b5c615b1fa
Complete validation for username/password form (except for checking if a username exists).
18 lines
465 B
JavaScript
18 lines
465 B
JavaScript
var classNames = require('classnames');
|
|
var FRCRadioGroup = require('formsy-react-components').RadioGroup;
|
|
var React = require('react');
|
|
|
|
var RadioGroup = React.createClass({
|
|
type: 'RadioGroup',
|
|
render: function () {
|
|
var classes = classNames(
|
|
'radio-group',
|
|
this.props.className
|
|
);
|
|
return (
|
|
<FRCRadioGroup {... this.props} className={classes} />
|
|
);
|
|
}
|
|
});
|
|
|
|
module.exports = RadioGroup;
|