Skip to content

[Pagination] Allow customization of icons - #29336

Merged
mnajdova merged 5 commits into
masterfrom
unknown repository
Nov 3, 2021
Merged

mnajdova merged 5 commits into
masterfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Oct 27, 2021 •

Copy link
Copy Markdown

Fix #29335

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

mui-pr-bot commented Oct 27, 2021 •

Copy link
Copy Markdown

Details of bundle changes

Generated by 🚫 dangerJS against 6a0aeac

@mnajdova mnajdova left a comment

Copy link
Copy Markdown
Member

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

@mnajdova mnajdova left a comment

Copy link
Copy Markdown
Member

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 michaldudak and mnajdova 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 scope: pagination Changes related to the pagination. label Nov 2, 2021

@michaldudak michaldudak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good to me.

@mnajdova mnajdova left a comment

Copy link
Copy Markdown
Member

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

scope: pagination Changes related to the pagination.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pagination icons customisation

3 participants