import React from 'react'; import { CheckboxOptionType } from 'antd'; import { CheckboxGroupProps } from 'antd/es/checkbox'; import { BizFormItemProps } from './Item'; interface CheckboxWrapperProps extends CheckboxGroupProps { value?: any; onChange?: (checkValue: any) => void; all?: boolean; allLabel?: React.ReactNode; excludeValues?: ((options: CheckboxOptionType[]) => any[]) | any[]; options?: CheckboxOptionType[]; checkboxGroupProps?: Omit, 'options' | 'value'>; } export interface BizFormItemCheckboxProps extends BizFormItemProps, Pick { } declare const BizFormItemCheckbox: React.FC; export default BizFormItemCheckbox;