Paste icon types #593
-
I am rendering an icon based on the status of a sim and know (for now) it will be one of three types Code for reference:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Thanks, @crubio-imp! We're looking into this and will get back to you within a day. |
Beta Was this translation helpful? Give feedback.
-
Hi @crubio-imp As of now there isn't a generic type you could use because we're still holding on to the possibility of having certain icons with different interfaces. Feel free to create your own generic type in your code and use that for now. |
Beta Was this translation helpful? Give feedback.
Hi @crubio-imp
As of now there isn't a generic type you could use because we're still holding on to the possibility of having certain icons with different interfaces. Feel free to create your own generic type in your code and use that for now.
i.e.:
interface IconProps extends SuccessIconProps {}
or similar