table-reuse
Version:
A reusable table built on top of Antd ProTable
14 lines (13 loc) • 374 B
TypeScript
/// <reference types="react" />
export declare function usePagination(initialPageSize?: number): {
pagination: {
current: number;
pageSize: number;
total: number;
};
setPagination: import("react").Dispatch<import("react").SetStateAction<{
current: number;
pageSize: number;
total: number;
}>>;
};