Components
Pagination
Standalone pagination component. Works with any data source - not coupled to react-table.
Usage
Best practices
Drive it as a controlled control - pass
page+totalPagesand update state inonPageChange; it holds no internal page state.It is data-source agnostic (not coupled to react-table); for grid paging use the DataGrid's own pagination parts instead.
Signal an in-flight jump with
loadingPage={n}so only that button spins; leave a11y labels to the component (each control is pre-labelled).
Props
Also exports
- interface
PaginationProps