tdesign-vue
Version:
17 lines (16 loc) • 528 B
TypeScript
import { ComputedRef, InjectionKey } from '@vue/composition-api';
import { TdCheckboxProps } from './type';
export interface CheckboxGroupInjectData {
handleCheckboxChange: (data: {
checked: boolean;
e: Event;
option: TdCheckboxProps;
}) => void;
onCheckedChange: (p: {
checked: boolean;
checkAll: boolean;
e: Event;
option: TdCheckboxProps;
}) => void;
}
export declare const CheckboxGroupInjectionKey: InjectionKey<ComputedRef<CheckboxGroupInjectData>>;