mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 08:59:15 +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;
|