Update pagination in table.

Add getPaginationRage to usePagination hook.
Use the getPaginationRage to create dynamic buttons in the table.
This commit is contained in:
Alexander Navarro 2023-11-05 10:32:49 -03:00
parent b1979d7351
commit e593354cb4
4 changed files with 80 additions and 26 deletions

View file

@ -68,3 +68,12 @@ td {
border: 1px solid white;
text-align: center;
}
.btn {
padding: var(--prj-spacing-1);
}
.btn-primary {
background-color: var(--prj--primary-bg);
color: var(--prj--primary-text);
}