PageButtons
Page button component
import { PageButtons } from '@ensdomains/thorin'
name | type | default | description |
---|---|---|---|
alwaysShowFirst | boolean | - | - |
alwaysShowLast | boolean | - | - |
current* Required | number | - | - |
max | number | 5 | Maximum number of buttons to show |
showEllipsis | boolean | true | - |
size | "small" | "medium" | medium | - |
total* Required | number | - | Total number of pages |
onChange* Required | (value: number) => void | - | - |