10 lines
349 B
TypeScript
10 lines
349 B
TypeScript
![]() |
import type { InjectionKey } from 'vue'
|
||
|
import type { CheckboxGroupProps, CheckboxGroupValueType } from '../components'
|
||
|
|
||
|
export interface CheckboxGroupContext extends CheckboxGroupProps {
|
||
|
changeEvent: (val: CheckboxGroupValueType[number]) => void
|
||
|
}
|
||
|
|
||
|
export const checkboxGroupKey: InjectionKey<CheckboxGroupContext> =
|
||
|
Symbol('checkboxGroupKey')
|