FortAwesome / angular-fontawesome

Official Angular component for Font Awesome 5+
https://fontawesome.com
MIT License
1.49k stars 152 forks source link

There are 2 faStar's because of that I can not use them both in 1 component #321

Closed Maxim-lejaeghere closed 3 years ago

Maxim-lejaeghere commented 3 years ago

Describe the problem

I am getting an error message if I want to import both faStar's in 1 component

What did you expect?

I was expecting to be able to use both this icons in on component (different name for different icon)

Reproducible test case

https://stackblitz.com/edit/angular-z8v4ux-zdntlw?file=src%2Fapp%2Fapp.component.ts

image

devoto13 commented 3 years ago

You can use import aliases to resolve this issue. See the documentation for an example.