build: add angular font awesome
* Add angular font awesome * Add custom shared module for icons
This commit is contained in:
@@ -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 { }
|
||||
|
||||
Reference in New Issue
Block a user