build: add angular font awesome

* Add angular font awesome
* Add custom shared module for icons
This commit is contained in:
Abhay Chawla
2018-08-09 03:43:34 +05:30
parent 81d6cded6a
commit bf64608805
5 changed files with 62 additions and 3 deletions
+22
View File
@@ -0,0 +1,22 @@
import { NgModule } from '@angular/core';
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
import { library } from '@fortawesome/fontawesome-svg-core';
import {
faFileUpload,
faSearch
} from '@fortawesome/free-solid-svg-icons';
// Add an icon to the library for convenient access in other components
library.add(
faFileUpload,
faSearch
);
@NgModule({
imports: [],
declarations: [],
exports: [FontAwesomeModule]
})
export class IconsModule { }