ant-design/components/checkbox/index.jsx

12 lines
264 B
React
Raw Normal View History

2015-07-15 15:19:24 +08:00
var Checkbox = require('rc-checkbox');
var React = require('react');
var AntCheckbox = React.createClass({
2015-07-15 16:01:24 +08:00
getDefaultProps() {
return {prefixCls: 'ant-checkbox'};
}, render() {
return <Checkbox {...this.props}/>;
}
2015-07-15 15:19:24 +08:00
});
module.exports = AntCheckbox;