Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.