mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-02 19:28:14 +08:00
11 lines
338 B
TypeScript
11 lines
338 B
TypeScript
import type { configProviderProps } from '@element-plus/components/config-provider'
|
|
import type { InjectionKey, ExtractPropTypes, Ref } from 'vue'
|
|
|
|
export type ConfigProviderContext = Partial<
|
|
ExtractPropTypes<typeof configProviderProps>
|
|
>
|
|
|
|
export const configProviderContextKey: InjectionKey<
|
|
Ref<ConfigProviderContext>
|
|
> = Symbol()
|