You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
353 B

9 years ago
var Radio = require('rc-radio');
var React = require('react');
9 years ago
9 years ago
var AntRadio = React.createClass({
getDefaultProps() {
9 years ago
return {
prefixCls: 'ant-radio'
};
},
render() {
return (
<label>
9 years ago
<Radio {...this.props} children={null} />
{this.props.children}
</label>
);
9 years ago
}
});
9 years ago
9 years ago
module.exports = AntRadio;