@arco-design/web-vue
Version:
Arco Design Vue 2.0: A Vue.js 3 UI Library
11 lines (10 loc) • 381 B
TypeScript
import type { InjectionKey, Slots } from 'vue';
export interface CheckboxGroupContext {
name: 'ArcoCheckboxGroup';
computedValue: Array<string | number>;
disabled: boolean;
isMaxed: boolean;
slots: Slots;
handleChange: (value: Array<string | number | boolean>, e: Event) => void;
}
export declare const checkboxGroupKey: InjectionKey<CheckboxGroupContext>;