feat(client): add Pagination component and integrate with Table and pages
- add Pagination component with prev/next, ellipsis page range, and optional page-size selector - add Pagination and Table pagination stories (WithPagination, WithPaginationAndSizeSelector) - extend Table with optional pageSize and pageSizeOptions props for built-in client-side pagination - add Timestamp column to Table story fixtures - enable pagination on all four pages with pageSize=10 and size selector - add pagination i18n keys to en.json
This commit is contained in:
@@ -41,5 +41,12 @@
|
||||
"switch_to_dark": "Switch to dark theme",
|
||||
"light_mode": "Light mode",
|
||||
"dark_mode": "Dark mode"
|
||||
},
|
||||
"pagination": {
|
||||
"prev": "Previous page",
|
||||
"next": "Next page",
|
||||
"range": "{{from}}–{{to}} of {{total}}",
|
||||
"per_page": "{{count}} per page",
|
||||
"page_size": "Items per page"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user