Pagination
Pinned to the bottom of the list panel, 50 per page: the range in Body/XS text/tertiary, then previous and next.
Pages
Previous is text/disabled on page 1. Changing page is instant.
Usage
import { Pagination } from "@kuori/ui/inbox";<Pagination label={paginationLabel(page, total)} hasPrevious={page > 1} hasNext={page < pages} onPrevious={back} onNext={next} />Pagination
PropTypeDescription
labelRequiredstring“1–50 of 48,979”, with an en dash
hasPreviousRequiredbooleanOff on page 1
hasNextRequiredbooleanOff on the last page
onPreviousRequired() => voidPrevious page
onNextRequired() => voidNext page
classNamestringAdditional CSS classes