ant-design/components/radio/index.jsx

16 lines
262 B
React
Raw Normal View History

2015-07-16 18:23:25 +08:00
var Radio = require('rc-radio');
var React = require('react');
2015-07-16 22:41:27 +08:00
2015-07-16 18:23:25 +08:00
var AntRadio = React.createClass({
getDefaultProps() {
2015-07-16 22:41:27 +08:00
return {
prefixCls: 'ant-radio'
};
},
render() {
return <Radio {...this.props} />;
2015-07-16 18:23:25 +08:00
}
});
2015-07-16 22:41:27 +08:00
2015-07-16 18:23:25 +08:00
module.exports = AntRadio;