import * as React from 'react'; import './style/index.less'; export type CheckBoxSize = 'xs' | 'sm' | 'md' | 'lg'; export type CheckBoxColor = 'primary' | 'red' | 'orange'; interface CheckBoxOptions { children: React.ReactNode; disabled: boolean; value: string | boolean; name: string; size: CheckBoxSize; color: string; checked: boolean; className?: string; indeterminate: boolean; onChange?: (checked: boolean, e: React.MouseEventHandler) => void; } export type CheckBoxProps = Partial; declare const CheckBox: React.FC; export default CheckBox;