Skip to content

Instantly share code, notes, and snippets.

@thrixton
Created November 16, 2018 04:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thrixton/e3a01071ab13a753baba4fb0667ccb07 to your computer and use it in GitHub Desktop.
Save thrixton/e3a01071ab13a753baba4fb0667ccb07 to your computer and use it in GitHub Desktop.
app.component.ts
// In app.component or relevant component requiring icon
import { faGoogle } from '@fortawesome/free-brands-svg-icons';
/*...*/
constructor(
_iconService: IconService
) {
_iconService.addSvg(faGoogle); // add icon to library
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment