I set up a group of components as follows:
- An icon component, which is given an icon type and different sizes (the line thicknesses change according to each size).
- A list item component (and others) that receive this icon component.
- A card or more complex elements that receive this list item.
In this last component (3), the icon type must change depending on the list item, but in the list item component (2) there is only one generic icon (1), to assemble the structure.
My problem is:
When, for whatever reason, I want to change the size variant of the icon component (1) within the list item component (2), the card component (3) loses all its overrides!
I made a video to illustrate it better but I Figma won’t let me upload it. Does anyone knows how to solve it?