Skip to content

Fluent UI Icon: Render an alternate icon in case the icon name provided is wrong #24335

Discussion options

You must be logged in to vote

There is nothing built into the component to allow for an alternative icon to be used. You might consider wrapping the Icon in a component of your own that checks for the icon availability before rendering the Fluent UI icon.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by micahgodbolt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants