Pager
Previous and next for a candidate page.
Example
<Pager
pageNumber={2}
pageCount={4}
count={36}
busy={false}
hasPrevious
hasNext
onPage={setPage}
/>
Props
| Prop | Type | |
|---|---|---|
pageNumber | number | |
pageCount | number | |
count | number | Shown as the total. |
busy | boolean | |
hasPrevious | boolean | |
hasNext | boolean | |
onPage | (page) => void | |
classes | { previous?, next?, label? } | |
className | string | Added on the root element. |
style | CSSProperties | Added on the root element. |
Render it inside SourcingTheme so the Nova tokens apply.