mirror of
https://github.com/element-plus/element-plus.git
synced 2024-12-27 03:01: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()
|