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

[Pagination] Allow customization of icons #29336

Merged
merged 5 commits into from Nov 3, 2021
Merged

[Pagination] Allow customization of icons #29336

merged 5 commits into from Nov 3, 2021

Conversation

ghost
Copy link

@ghost ghost commented Oct 27, 2021

Fix #29335

@ghost ghost changed the title Fix #29335 Pagination icons customisations Oct 27, 2021
@mui-pr-bot
Copy link

mui-pr-bot commented Oct 27, 2021

Details of bundle changes

Generated by 🚫 dangerJS against 6a0aeac

Copy link
Member

@mnajdova mnajdova left a comment

Choose a reason for hiding this comment

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

The idea about the change is nice, however let's use the components API, and have key there for each of the icons. You can take a look into how this is implemented in the Tooltip component or basically any component int he @mui/core package - packages/mui-core/src.

@ghost ghost requested a review from mnajdova November 2, 2021 08:21
@ghost ghost requested a review from mnajdova November 2, 2021 11:29
Copy link
Member

@mnajdova mnajdova left a comment

Choose a reason for hiding this comment

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

Great let’s add as a last thing a demo illustrating this new feature

Marcio Beltramin added 2 commits November 2, 2021 14:19
@ghost ghost requested review from mnajdova and michaldudak November 2, 2021 13:20
@michaldudak michaldudak changed the title Pagination icons customisations [Pagination] Allow customization of icons Nov 2, 2021
@michaldudak michaldudak added the component: pagination This is the name of the generic UI component, not the React module! label Nov 2, 2021
Copy link
Member

@michaldudak michaldudak left a comment

Choose a reason for hiding this comment

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

Looks good to me.

Copy link
Member

@mnajdova mnajdova left a comment

Choose a reason for hiding this comment

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

It's a great first pull request on MUI 👌 Thank you for working on it!

@mnajdova mnajdova merged commit 85ab590 into mui:master Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: pagination This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pagination icons customisation
3 participants