Home > @uniformdev/design-system > Pagination

Pagination() function

Page selector for offset-based lists. Renders nothing when there is one page or fewer. onPageChange receives the new limit and offset, plus the control the user clicked.

Signature:

Parameters

Parameter

Type

Description

{ limit, offset, total, onPageChange, }

(not declared)

input

{ limit: number; offset: number; total: number; onPageChange: (limit: number, offset: number, control: PaginationControl) => void; }

Returns:

_emotion_react_jsx_runtime.JSX.Element | null

Example

<>