element-plus/packages/tokens/config-provider.ts

9 lines
291 B
TypeScript
Raw Normal View History

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