Skip to content

Expose all MaterialIcons as an array of string #56

@Angelinsky7

Description

@Angelinsky7

Would it be possible to also expose all MaterialIcons as const of string[] ?
Like that i could easily build an icon explorer in my own application and let user select an icon.

For now the only way that i found to do what i would like, is by literally copying the MaterialIcons type in index.d.ts.
And of course i need to maintain the list at every update...

export const MaterialIcons = [
....
];

Or maybe there is another way to do the same.

Thanks you !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions