UNPKG

@fe6/water-pro

Version:

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

14 lines (13 loc) 513 B
/** @format */ import type { TableProProps, TableActionType } from '../types/table'; import type { DynamicProps } from '../../../_util/types/utils'; import type { FormActionType } from '../../../form-pro'; declare type Props = Partial<DynamicProps<TableProProps>>; declare type UseTableMethod = TableActionType & { getForm: () => FormActionType; }; export declare function useTable(tableProps?: Props): [ (instance: TableActionType, formInstance: UseTableMethod) => void, UseTableMethod ]; export {};