mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 09:20:51 +08:00
eb07d7c7ac
- Refactor date-picker with tsx. - Move injection key to tokens bundle. - Add entry for type `dates`. - Update provide content for root picker.
9 lines
204 B
TypeScript
9 lines
204 B
TypeScript
import type { InjectionKey, SetupContext } from 'vue'
|
|
|
|
interface DatePickerContext {
|
|
slots: SetupContext['slots']
|
|
}
|
|
|
|
export const ROOT_PICKER_INJECTION_KEY: InjectionKey<DatePickerContext> =
|
|
Symbol()
|