import * as React from 'react'; import './style/index.less'; export type CheckBoxGroupSize = 'xs' | 'sm' | 'md' | 'lg'; export type CheckBoxGroupColor = 'primary' | 'red' | 'orange'; export type stringType = string | string[]; interface options { label: string; value: string; disabled?: boolean; size?: CheckBoxGroupSize; color?: CheckBoxGroupColor; name?: string; } interface CheckBoxGroupOptions { children: React.ReactPropTypes; defaultValue: string; options: Array; disabled: boolean; value: stringType; name: string; size: CheckBoxGroupSize; color: CheckBoxGroupColor; vertical: boolean; onChange?: (e: Array) => void; } export type CheckBoxGroupProps = Partial; declare const CheckBoxGroup: React.FC; export default CheckBoxGroup;