You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the file where we created the component, the code is displayed as we intended.
But if we create another file and then load the component we created, the code doesn't show up at all.
We add a detailed description because it's only happening with our specific component.
More Detail Info
Design
First, we defined the Icon Assets as follows.
We then created an additional masked component as Icon/Icons so that when using the icon, it would retain its existing color even if we changed to a different icon.
We designed the Icon/Icons component to allow us to swap icon instances freely.
Problem
In the file where we created the component, the code is displayed as we intended.
But if we create another file and then load the component we created, the code doesn't show up at all.
We add a detailed description because it's only happening with our specific component.
More Detail Info
Design
First, we defined the Icon Assets as follows.
We then created an additional masked component as Icon/Icons so that when using the icon, it would retain its existing color even if we changed to a different icon.
We designed the Icon/Icons component to allow us to swap icon instances freely.
Develop
We connected the code as follows.
Result
Icon Asset worked as intended.
However, the code doesn't show up at all at Icon/Icons.
Version Info
The text was updated successfully, but these errors were encountered: