Components

Pagination

<Pagination />

Pagination component

Usage

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

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