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.

19 lines
319 B

import Radio from 'rc-radio';
import React from 'react';
9 years ago
export default React.createClass({
9 years ago
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
}
});