vocdoni / ui-components

Vocdoni UI components library
GNU General Public License v3.0
3 stars 2 forks source link

Create the Pagination components #178

Open elboletaire opened 1 month ago

elboletaire commented 1 month ago

I've recently created a set of pagination components that we ended up copy-pasting in different repos, and it totally makes sense to have them here in chakra-components.

The version to be used as reference should be the one in the new explorer: https://github.com/vocdoni/explorer/tree/main/src/components/Pagination

Things to keep in mind:

elboletaire commented 1 month ago

Probably the context and provider should be moved to the react-providers package... but assess if it makes sense, since it does not have much logic... considering is a really simple context and provider, maybe we should consider doing some context and provider creator, and have that in the providers...