Replies: 1 comment 3 replies
-
Seems like a neat idea. It could be extended further to look more like our utilities(Margin, Padding, etc.) to combine it with the styles, sizes, and more. The only downside I see is that in your approach, you have static members and fixed CSS icon names. That would have to be managed dynamically at runtime to support all our providers. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Insead of using an enumerable type for icons why not use a more expandable approach
A common inteface to allow different CSS combination
A specific interface for Icons
The implementation of the IconName class
and in the Icon component
Beta Was this translation helpful? Give feedback.
All reactions