mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-16 02:11:48 +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()
|