UNPKG

ivue-material-plus

Version:

A high quality UI components Library with Vue.js

19 lines (15 loc) • 402 B
import type { InjectionKey } from 'vue'; export type CheckboxContext = { default?: null | string; name?: string; handleChange?: (value: (string | number)[]) => void; props?: Props; }; export const CheckboxContextKey: InjectionKey<CheckboxContext> = Symbol( 'ivue-checkbox-group' ); export interface Props { modelValue: any[]; validateEvent: boolean; id?: string; }