Skip to content

Paste icon types #593

Answered by TheSisb
crubio-imp asked this question in General
Discussion options

You must be logged in to vote

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

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by crubio-imp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants