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

[SvgIcon] Add Icon suffix to SVG icons #12634

Merged
merged 1 commit into from
Aug 24, 2018
Merged

[SvgIcon] Add Icon suffix to SVG icons #12634

merged 1 commit into from
Aug 24, 2018

Conversation

yordis
Copy link
Contributor

@yordis yordis commented Aug 24, 2018

Adding this suffix helps the DevTools Tree view to identify the icon.

The issue I had was that I had two Fullscreen components and when I used the search there was no way to know which one was which one.

But adding this suffix helps to debug and have a cleaner Tree structure in the DevTools.

@oliviertassinari oliviertassinari changed the title Add Icon suffix to SVG icons [Icon] Add Icon suffix to SVG icons Aug 24, 2018
@oliviertassinari oliviertassinari added new feature New feature or request component: Icon The React component. labels Aug 24, 2018
@oliviertassinari oliviertassinari added component: SvgIcon The React component. and removed component: Icon The React component. labels Aug 24, 2018
@oliviertassinari oliviertassinari changed the title [Icon] Add Icon suffix to SVG icons [SvgIcon] Add Icon suffix to SVG icons Aug 24, 2018
@oliviertassinari oliviertassinari merged commit 1f6ec45 into mui:master Aug 24, 2018
@oliviertassinari
Copy link
Member

@yordis It's a great first pull request on Material-UI 👌🏻. Thank you for giving it a shot!

marcelpanse pushed a commit to marcelpanse/material-ui that referenced this pull request Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: SvgIcon The React component. new feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants