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
For non-fa-fa-width icons, the viewBox and the required classes are different for each icon
I didn't check the other options, but I guess they make the code a lot more complicated
If FontAwesome changes the classes in the future, I'm doomed....
Describe the solution you'd like
<FaIcon @icon="check" @useSymbol={true}}/>
This is easy to use and FaIcon should have all the information to create the code from above.
Describe the alternatives you considered
There was a pull request to add FaStaticIcon, but it was rejected? If this would exist, I just would use it. But for my needs my solution would fit better: I only have two icons, that I use over and over again. Creating these icons as symbols in the right component is a lot easier than creating this sprite file.
And there is already the option @symbol, so in my mind @useSymbol is missing.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
<FaIcon @icon="check" @fixedWidth={true}} class="..."/>
This is great, but now I want to use this icon as a symbol, because I need it really very often on my page. I can create a symbol easily:
<FaIcon @icon="check" @symbol={true}}/>
But how can I use this icon? I came to this solution:
This works, but has some drawbacks:
Describe the solution you'd like
<FaIcon @icon="check" @useSymbol={true}}/>
This is easy to use and FaIcon should have all the information to create the code from above.
Describe the alternatives you considered
There was a pull request to add FaStaticIcon, but it was rejected? If this would exist, I just would use it. But for my needs my solution would fit better: I only have two icons, that I use over and over again. Creating these icons as symbols in the right component is a lot easier than creating this sprite file.
And there is already the option
@symbol
, so in my mind@useSymbol
is missing.The text was updated successfully, but these errors were encountered: