PaginatorProps
type PaginatorProps = ThemeStyleProps & { itemCount: number; onPageChange?: (newPageIndex: number) => void; pageIndex?: number; pageSize?: number; variant?: PaginatorVariant;};Type Declaration
Section titled “Type Declaration”| Name | Type | Description |
|---|---|---|
itemCount |
number |
The total number of items |
onPageChange()? |
(newPageIndex: number) => void |
Invoked when the page index changes |
pageIndex? |
number |
The current page index (turns component controlled) |
pageSize? |
number |
The size of each page |
variant? |
PaginatorVariant |
- |