Skip to content

Use of different custom icons #125

@gpbl

Description

@gpbl

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

No one assigned

    Labels

    scope: iconsChanges related to the icons.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions