Interface: GridPaginationProps
Defined in: components/GridPagination.tsx:13
Properties
className?
optionalclassName?:string
Defined in: components/GridPagination.tsx:47
Extra CSS class applied to the root element.
labels?
optionallabels?:Record<string,string>
Defined in: components/GridPagination.tsx:44
Label overrides for the text inside the component. Supported keys: previous, next, page, of
onPageChange
onPageChange: (
page) =>void
Defined in: components/GridPagination.tsx:24
Called when the user navigates to a different page. Receives the newly selected page number (1-based).
Parameters
page
number
Returns
void
products
products:
ProductsResponse
Defined in: components/GridPagination.tsx:18
A ProductsResponse object for populating the pagination component.
Reads page (current page), pages (total pages) from the response.
siblingCount?
optionalsiblingCount?:number
Defined in: components/GridPagination.tsx:38
Number of visible page buttons rendered around the current page in 'full' style. Defaults to 5.
variant?
optionalvariant?:string
Defined in: components/GridPagination.tsx:32
Pagination display variant. 'compact' — Previous / "Page X of Y" / Next. 'full' — numbered page buttons with ellipsis collapsing + Previous / Next. Defaults to 'compact'.