-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
scope: iconsChanges related to the icons.Changes related to the icons.
Description
Looking into icon.jsx
we are constrained to use classes beginning with mdfi_
or mui-icon
. In one of my projects, I need to use my own set of custom icons and I don't need the default ones.
I believe the reason for this is to avoid prefixing the "default" material-design icons with mdfi_
, and just use the icon name after the prefix. This makes the component unusable and I'm forced to use <span>
. I'm also fine with that, but a better solution would to actually use a prefix, which I'd change to md-icon
.
A related issue is that the dropdown menu uses it, requiring to import the whole font just for one icon.
Metadata
Metadata
Assignees
Labels
scope: iconsChanges related to the icons.Changes related to the icons.