UNPKG

@fe6/water-pro

Version:

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

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