mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
12 lines
264 B
JavaScript
12 lines
264 B
JavaScript
var Checkbox = require('rc-checkbox');
|
|
var React = require('react');
|
|
var AntCheckbox = React.createClass({
|
|
getDefaultProps() {
|
|
return {prefixCls: 'ant-checkbox'};
|
|
}, render() {
|
|
return <Checkbox {...this.props}/>;
|
|
}
|
|
});
|
|
|
|
module.exports = AntCheckbox;
|