Skip to content

Instantly share code, notes, and snippets.

@thrixton
Created November 16, 2018 04:48

Revisions

  1. thrixton created this gist Nov 16, 2018.
    9 changes: 9 additions & 0 deletions app.component.ts
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    // 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
    }