Components

Pagination

<Pagination />

Pagination component

Usage

import { Pagination, PaginationProps } from '@admin-bro/design-system'
See:

View Source admin-bro-design-system/src/molecules/pagination.tsx, line 74

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-design-system/src/molecules/pagination.tsx, line 102