-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add pagination component #20
base: main
Are you sure you want to change the base?
Conversation
ahmadshaheer
commented
Oct 13, 2024
•
edited
Loading
edited
a83df8c
to
871b151
Compare
} from "@signozhq/pagination"; | ||
|
||
const PaginationComponent = () => ( | ||
<Pagination> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ahmadshaheer : Can we use the component similar to how the consuming application will be using?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
like
<Pagination align="end" defaultCurrent={1} total={50} />
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Check https://ant.design/components/pagination for examples
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done 👍
@ahmadshaheer : the story should list all the props the component accepts. |
b7d5fc3
to
ea2e30b
Compare