UNPKG

element-plus

Version:

A Component Library for Vue 3

5 lines (4 loc) 286 B
import type { Ref } from 'vue'; import type { ConfigProviderContext } from 'element-plus/es/tokens'; export declare function useGlobalConfig<K extends keyof ConfigProviderContext>(key: K): Ref<ConfigProviderContext[K]>; export declare function useGlobalConfig(): ConfigProviderContext;