Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FontAwesome Icons not appearing #39

Closed
dcp3450 opened this issue Sep 19, 2020 · 2 comments
Closed

FontAwesome Icons not appearing #39

dcp3450 opened this issue Sep 19, 2020 · 2 comments
Labels
question Further information is requested

Comments

@dcp3450
Copy link

dcp3450 commented Sep 19, 2020

I used the example:

<i class="fab fa-twitter" slot="twitter" style="color: #00aced; width: 1.4rem;"></i>

To show a twitter icon but I wasn't getting anything to display. So I installed the Angular FontAwesome package (https://www.npmjs.com/package/@fortawesome/angular-fontawesome) and attempted this:

<web-social-share [show]="show" [share]="options">
  <fa-icon [icon]="faTwitter" slot="twitter"></fa-icon>
</web-social-share>
...
import { faTwitter } from '@fortawesome/free-brands-svg-icons';
...
  options = {
    config: [{
          facebook: {
            socialShareUrl: 'https://peterpeterparker.io'
          }
        },{
          twitter: {
            socialShareUrl: 'https://peterpeterparker.io'
          }
    }]
  };
  show = true;

  faTwitter = faTwitter;

Nothing is displaying. I think I'm missing a step.

@peterpeterparker peterpeterparker added the question Further information is requested label Sep 19, 2020
@peterpeterparker
Copy link
Owner

  • how did you import the component?

  • did you toggle the show variable?

@peterpeterparker
Copy link
Owner

I gonna close this one for "no activity" reason. Ping me if you still search the solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants