mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01:14 +08:00
11 lines
297 B
TypeScript
11 lines
297 B
TypeScript
import type { InjectionKey, SetupContext } from 'vue'
|
|
import type { UseNamespaceReturn } from '@element-plus/hooks'
|
|
|
|
interface DatePickerContext {
|
|
slots: SetupContext['slots']
|
|
pickerNs: UseNamespaceReturn
|
|
}
|
|
|
|
export const ROOT_PICKER_INJECTION_KEY: InjectionKey<DatePickerContext> =
|
|
Symbol()
|