ant-design/components/radio/radioButton.jsx
Bruce Mitchener 11c0a6a203 Name classes without Ant* prefix.
Where necessary, prefix the classes imported from react-component
with 'Rc' rather than prefixing the Ant classes with 'Ant'.

The prefixing of Ant classes wasn't consistent and isn't necessary
in many cases.
2016-03-21 20:16:38 +07:00

18 lines
283 B
JavaScript

import React from 'react';
import Radio from './radio';
const RadioButton = React.createClass({
getDefaultProps() {
return {
prefixCls: 'ant-radio-button',
};
},
render() {
return (
<Radio {...this.props} />
);
}
});
export default RadioButton;