Pagination #209
ftognetto
started this conversation in
Show and tell
Pagination
#209
Replies: 1 comment
-
@ftognetto not sure if you wrote this before the Pagination component was available. If not, what was the reason to not use that but to create your own component? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the feature in detail (code, mocks, or screenshots encouraged)
I'm trying to create a pagination component to use with the datable.
If this can be useful for the library or simply for someone who is looking for a solution I have created a prototype that surely needs to be worked on but for now it fits my needs.
It uses svelte-headless-table and melt/ui so it fits the libraries used by shadcn-svelte
This Is the pagination component
It expect a
PaginationState
that comes from svelte-headless-table addPagination plugin.This is an example of how I use it
+page.svelte
+page.server.ts
What type of pull request would this be?
Enhancement
Provide relevant links or additional information.
No response
Beta Was this translation helpful? Give feedback.
All reactions