UNPKG

yanzhen-design-vue

Version:

12 lines (11 loc) 695 B
import { VxeTableConfigContext, VxeTableConfigContextRefs, VxeTableConfigKey } from '../constants'; import { ComputedRef } from 'vue'; import { VxeTableProps } from '../vxe-table'; export declare function useVxeTableConfig(): ComputedRef<VxeTableConfigContext>; export declare function useVxeTableConfig<K extends VxeTableConfigKey, D = undefined>(key: K, defaultValue?: D): ComputedRef<VxeTableConfigContext[K] | D>; export declare function provideVxeTableConfig(props: VxeTableConfigContextRefs): void; export declare function useVxeTableTagConfig(props: VxeTableProps): { isATableTag: ComputedRef<boolean>; isElTableTag: ComputedRef<boolean>; isVxeTable: ComputedRef<boolean>; };