Skip to content

PageButtons

Page button component
import { PageButtons } from '@ensdomains/thorin'

Props
#

name
type
default
description
alwaysShowFirst
boolean
-
-
alwaysShowLast
boolean
-
-
current*
Required
number
-
-
max
number
5
Maximum number of buttons to show
total*
Required
number
-
Total number of pages
onChange*
Required
(value: number) => void
-
-
Edit on GitHub