Pagination
Moves through long lists and tables. Shows the range on the left and compact page controls on the right.
Pagination bar
<Pagination page={page} total={248} perPage={10} onChange={setPage} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
page | number | — | Current page (1-based). |
total | number | — | Total items. |
perPage | number | — | Items per page. |
onChange | (p) => void | — | Handler. |