Documentation / @zerotal/flow-ui / index / PaginationProps
Interface: PaginationProps
Defined in: flow-ui/src/components/Pagination.tsx:19
Indexable
[
key:string]:unknown
Properties
page
page:
number
Defined in: flow-ui/src/components/Pagination.tsx:21
Current page, 1-based.
lastPage
lastPage:
number
Defined in: flow-ui/src/components/Pagination.tsx:22
href
href: (
page) =>string
Defined in: flow-ui/src/components/Pagination.tsx:24
Build the URL for a page.
Parameters
page
number
Returns
string
siblings?
optionalsiblings?:number
Defined in: flow-ui/src/components/Pagination.tsx:29
How many numbered links to show around the current page. Odd numbers centre the current page; even ones lean left.
total?
optionaltotal?:number
Defined in: flow-ui/src/components/Pagination.tsx:31
Total row count, shown as "1–20 of 431" when perPage is also given.
perPage?
optionalperPage?:number
Defined in: flow-ui/src/components/Pagination.tsx:32
class?
optionalclass?:string
Defined in: flow-ui/src/components/Pagination.tsx:33