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

Expose all MaterialIcons as an array of string #56

Open
Angelinsky7 opened this issue Nov 26, 2024 · 0 comments
Open

Expose all MaterialIcons as an array of string #56

Angelinsky7 opened this issue Nov 26, 2024 · 0 comments

Comments

@Angelinsky7
Copy link

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 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant