Pagination
Page navigation with prev/next and numbered buttons.
Preview
Usage
import { Pagination } from '@ramtt/ui'
<Pagination page={3} totalPages={10} onChange={setPage} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| page* | number | — | Current page |
| totalPages* | number | — | Total pages |
| onChange* | (page: number) => void | — | Page change handler |
| siblingCount | number | 1 | Pages shown beside current |