Pagination
Overview
The Pagination component provides a user interface for navigating through a list of items that are divided into multiple pages. It consists of several sub-components that handle page navigation, item count selection, and display of pagination controls.
Usage
Here's how to use the Pagination component:
- Use a Stack with justifyContent set to spaceBetween to create a horizontal layout with space between the child components.
- Create two child Stack components. The first Stack should contain the SelectInput dropdown and the second Stack should contain the count in a Paragraph and two IconButtons.
- Use IconButton for the next and previous page buttons.
- Use the SelectInput to set the items per page.