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

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