@pagamio/frontend-commons-lib
Version:
Pagamio library for Frontend reusable components like the form engine and table container
11 lines (10 loc) • 454 B
TypeScript
type PaginationProps = {
currentPage: number;
totalPages: number;
onPageChange: (page: number) => void;
itemsPerPage: number;
itemsPerPageOptions: number[];
onItemsPerPageChange: (itemsPerPage: number) => void;
};
declare const Pagination: ({ currentPage, totalPages, onPageChange, itemsPerPage, itemsPerPageOptions, onItemsPerPageChange, }: PaginationProps) => import("react/jsx-runtime").JSX.Element;
export default Pagination;