element-plus
Version:
A Component Library for Vue 3
10 lines (9 loc) • 490 B
TypeScript
import type { ComputedRef, InjectionKey, ToRefs, WritableComputedRef } from 'vue';
import type { CheckboxGroupProps } from './checkbox-group';
type CheckboxGroupContext = {
modelValue?: WritableComputedRef<any>;
changeEvent?: (...args: any) => any;
disabled?: ComputedRef<boolean>;
} & ToRefs<Pick<CheckboxGroupProps, 'size' | 'min' | 'max' | 'validateEvent' | 'fill' | 'textColor'>>;
export declare const checkboxGroupContextKey: InjectionKey<CheckboxGroupContext>;
export {};