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
showEllipsis
boolean
true
-
size
"small" | "medium"
medium
-
total*
Required
number
-
Total number of pages
onChange*
Required
(value: number) => void
-
-

Size
#

Edit on GitHub