Closed mohitmutha closed 2 weeks ago
Hello @mohitmutha, thank you for reaching out.
The icon property only accepts iX color names.
Please note that you should omit the "--theme
" prefix.
So for example if you wanted to use "--theme-color-ghost
" just type iconColor="color-ghost"
.
Prerequisites
What happened?
Adding the
iconButton
property has no effectSample code https://stackblitz.com/edit/d4xfdr?file=src%2Fbutton-with-icon.tsx
What type of frontend framework are you seeing the problem on?
React
Which version of iX do you use?
v2.x
Code to produce this issue.