Skip to content
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

[TypeScript] Fix <Pagination rowsPerPageOptions> doesn't accept an array of objects #9607

Merged
merged 1 commit into from Jan 24, 2024

Conversation

fzaninotto
Copy link
Member

Closes #8609

@djhi djhi added this to the 4.16.8 milestone Jan 24, 2024
@djhi djhi merged commit 70f75cd into master Jan 24, 2024
11 checks passed
@djhi djhi deleted the fix-pagination-rowsperpage-type branch January 24, 2024 09:11
Comment on lines +90 to +94
rowsPerPageOptions={[
{ label: 'ten', value: 10 },
{ label: 'twenty', value: 20 },
{ label: 'one hundred', value: 100 },
]}
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we mention this ability somewhere in the docs?

Copy link
Member Author

Choose a reason for hiding this comment

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

I don't think so, it's a MUI feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Possibility to add label to rowsPerPageOptions prop of TablePagination component
3 participants