@hmlr/govuk-react-components-library
Version:
These are common component use for React applications based on GDS and govuk-frontend
10 lines (9 loc) • 324 B
TypeScript
export declare const DOTS = "...";
interface UsePaginationProps {
totalCount: number;
pageSize: number;
siblingCount?: number;
currentPage: number;
}
export declare const UsePagination: ({ totalCount, pageSize, siblingCount, currentPage, }: UsePaginationProps) => (number | string)[] | undefined;
export {};