mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 21:59:41 +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;
|