UNPKG

@fe6/water-pro

Version:

An enterprise-class UI design language and Vue-based implementation

15 lines (14 loc) 534 B
/** @format */ import type { Ref } from 'vue'; import type { TableProProps, TableActionType } from '../types/table'; import { ComputedRef } from 'vue'; declare type Instance = TableActionType & { wrapRef: Ref<Nullable<HTMLElement>>; getBindValues: ComputedRef<Recordable>; }; declare type RetInstance = Omit<Instance, 'getBindValues'> & { getBindValues: ComputedRef<TableProProps>; }; export declare function createTableContext(instance: Instance): void; export declare function useTableContext(): RetInstance; export {};