|
|
@ -17,7 +17,7 @@ export default class Checkbox extends React.Component {
|
|
|
|
return (
|
|
|
|
return (
|
|
|
|
<label className={classString} style={style}>
|
|
|
|
<label className={classString} style={style}>
|
|
|
|
<RcCheckbox {...restProps} prefixCls={prefixCls} children={null} />
|
|
|
|
<RcCheckbox {...restProps} prefixCls={prefixCls} children={null} />
|
|
|
|
{children ? <span>{children}</span> : null}
|
|
|
|
{children !== undefined ? <span>{children}</span> : null}
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|