Navigation and identification between multiple pages.
The maximum number of pages that can be displayed
Customize buttons as icons.
Pagination of different sizes.
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 |
size | pagination size | NormalSizes | NormalSizes | medium |
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', ... | - |
NormalSizes
type NormalSizes = 'mini' | 'small' | 'medium' | 'large'