Skip to main content

Pager

Previous and next for a candidate page.

Example
<Pager
pageNumber={2}
pageCount={4}
count={36}
busy={false}
hasPrevious
hasNext
onPage={setPage}
/>

Props​

PropType
pageNumbernumber
pageCountnumber
countnumberShown as the total.
busyboolean
hasPreviousboolean
hasNextboolean
onPage(page) => void
classes{ previous?, next?, label? }
classNamestringAdded on the root element.
styleCSSPropertiesAdded on the root element.

Render it inside SourcingTheme so the Nova tokens apply.