Skip to content

Commit

Permalink
[SvgIcon] Add Icon suffix to SVG icons (#12634)
Browse files Browse the repository at this point in the history
  • Loading branch information
yordis authored and oliviertassinari committed Aug 24, 2018
1 parent 59b630e commit 1f6ec45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/material-ui-icons/src/utils/createSvgIcon.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function createSvgIcon(path, displayName) {
</SvgIcon>
);

Icon.displayName = displayName;
Icon.displayName = `${displayName}Icon`;
Icon = pure(Icon);
Icon.muiName = 'SvgIcon';

Expand Down

0 comments on commit 1f6ec45

Please sign in to comment.