Skip to content

Conversation

The-x-35
Copy link

Solved issue #17 . Added pagination. I added Next/Previous Buttons to provide buttons to navigate to the next and previous page of data. Also added the page numbers and highlighted the current page, added a prop to limit items per page. Also taking props for custom forward and backward routes. It shows "..." if the number of pages are more than 10 for better view like its on google search page, I also took reference from the shadcn ui. I have tested the code and it works.

@anwarulislam anwarulislam self-requested a review August 12, 2024 05:54
Copy link
Member

@anwarulislam anwarulislam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Add support to hide next/prev button
  2. Add go to last/first page button

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants