import Radio from 'rc-radio';
import React from 'react';
let AntRadio = React.createClass({
getDefaultProps() {
return {
prefixCls: 'ant-radio'
};
},
render() {
let classString = this.props.className;
if (classString) {
classString += this.props.checked ? (' ' + classString + '-checked') : '';
}
return (
);
}
});
let Button = React.createClass({
getDefaultProps() {
return {
className: 'ant-radio-button'
};
},
render() {
return (
);
}
});
AntRadio.Button = Button;
export default AntRadio;