UNPKG

@trussworks/react-uswds

Version:
13 lines (12 loc) 556 B
import { default as React } from 'react'; type PaginationProps = { pathname: string; totalPages?: number; currentPage: number; maxSlots?: number; onClickNext?: () => void; onClickPrevious?: () => void; onClickPageNumber?: (event: React.MouseEvent<HTMLButtonElement>, page: number) => void; }; export declare const Pagination: ({ pathname, totalPages, currentPage, className, maxSlots, onClickPrevious, onClickNext, onClickPageNumber, ...props }: PaginationProps & JSX.IntrinsicElements['nav']) => React.ReactElement; export {};