-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Make pagination more extendable #4132
Conversation
Thank you. This also closes #4008 |
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.
Nice! Missing documentation though ;)
Done! |
@@ -16,6 +16,8 @@ const Pagination = ({ | |||
total, | |||
setPage, | |||
setPerPage, | |||
ActionsComponent, |
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.
not sure about this name. I think in other places (or in material-ui), component props start with lowercase and don't include the term "component"
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.
You're right: list, create, show etc, are component (and not elements) yet their props are lowercase and without component at the end.
I submitted the change
Closes #4131
Closes #4008