Hi there guys!
I would like to ask if any of you have been able to implement somehow a Font Awesome implementation like when you install font-awesome in an Angular Web Application.
What I mean is that if you can have something like:
<Label class="fa fa-android"></Label>.
Right now what I’m doing is to create a custom component
<ns-icon [class]="'fa-android'"></ns-icon> which is an input for the Label text combined with a custom pipe that I have already created and reads data from my Icons enumeration (
fa_android = 0x(icon code),…) -->
<Label [text]="class | fontAwesome" class="fa"></Label>
I have tried the nativescript-nx-fontawesome with no success.
Do you have any other different useful and better in terms of performance and maintainability? If you decide to upgrade to Font Awesome 5 you would have to completely refactor your Icons enum,