element-plus/packages/tokens/config-provider.ts
2022-01-01 00:43:08 -05:00

9 lines
325 B
TypeScript

import type { configProviderProps } from '@element-plus/components/config-provider'
import type { InjectionKey, ExtractPropTypes, Ref } from 'vue'
export type ConfigProviderContext = ExtractPropTypes<typeof configProviderProps>
export const configProviderContextKey: InjectionKey<
Ref<ConfigProviderContext>
> = Symbol()