I would like to change the icon that is part of a button component programmatically (using logic to change which icon is used in a button). Is there a way to do that?
Something like the following (which unfortunately doesn’t work):
I would like to change the icon that is part of a button component programmatically (using logic to change which icon is used in a button). Is there a way to do that?
Something like the following (which unfortunately doesn’t work):
Hello @Alex_Klein!
Yes, you can do it this way, you just need to replace the property with startIcon
or endIcon
.
Regards,
Alexander
Amazing. Thank you!