Pagination
Navigation and identification between multiple pages.
General
Limit
The maximum number of pages that can be displayed
Icon
Customize buttons as icons.
APIs
Pagination.Props
| Attribute | Description | Type | Accepted values | Default |
|---|---|---|---|---|
| initialPage | the page selected by default | number | - | 1 |
| page | current page | number | - | 1 |
| count | the total number of pages | number | - | 1 |
| limit | limit of display page | number | - | 7 |
| onChange | change event | (page: number) => void | - | - |
| ... | native props | HTMLAttributes | 'id', 'className', ... | - |
Pagination.Previous.Props
| Attribute | Description | Type | Accepted values | Default |
|---|---|---|---|---|
| ... | native props | ButtonHTMLAttributes | 'id', 'className', ... | - |
Pagination.Next.Props
| Attribute | Description | Type | Accepted values | Default |
|---|---|---|---|---|
| ... | native props | ButtonHTMLAttributes | 'id', 'className', ... | - |
Contributors