Components

Pagination

<Pagination />

Constructor

# <Pagination />

Pagination component

View Source admin-bro/src/frontend/components/design-system/molecules/pagination.tsx, line 60

Example

Type Definitions

object

# PaginationProps

Properties:
Name Type Attributes Description
page number

Current page

perPage number

Items per page

total number

Total number of items

location Location <optional>

location. You can pass window.location or the location object, given by ReactRouter

onChange function

Triggers when user clicks any of the button

View Source admin-bro/src/frontend/components/design-system/molecules/pagination.tsx, line 87