mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 18:01:24 +08:00
66043aa3b5
re #4146 added button configuration added useGlobalConfig hook
8 lines
329 B
TypeScript
8 lines
329 B
TypeScript
import type { configProviderProps } from '@element-plus/components/config-provider/config-provider'
|
|
import type { InjectionKey, ExtractPropTypes } from 'vue'
|
|
|
|
export type ConfigProvdierContext = ExtractPropTypes<typeof configProviderProps>
|
|
|
|
export const configProviderContextKey: InjectionKey<ConfigProvdierContext> =
|
|
Symbol()
|