mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 04:58:55 +08:00
19 lines
326 B
JavaScript
19 lines
326 B
JavaScript
import RcCheckbox from 'rc-checkbox';
|
|
import React from 'react';
|
|
import Group from './Group';
|
|
|
|
const Checkbox = React.createClass({
|
|
getDefaultProps() {
|
|
return {
|
|
prefixCls: 'ant-checkbox'
|
|
};
|
|
},
|
|
render() {
|
|
return <RcCheckbox {...this.props} />;
|
|
}
|
|
});
|
|
|
|
Checkbox.Group = Group;
|
|
|
|
export default Checkbox;
|