UNPKG

tav-ui

Version:
11 lines (10 loc) 510 B
import type { ComputedRef } from 'vue'; import type { PaginationProps } from '../types/pagination'; import type { BasicTableProps } from '../types/table'; export declare function usePagination(refProps: ComputedRef<BasicTableProps>): { getPagination: () => boolean | PaginationProps; getPaginationInfo: ComputedRef<boolean | PaginationProps>; setShowPagination: (flag: boolean) => Promise<void>; getShowPagination: () => boolean; setPagination: (info: Partial<PaginationProps>) => void; };