40 lines
1.4 KiB
TypeScript
40 lines
1.4 KiB
TypeScript
import { NgModule } from '@angular/core';
|
|
import { CommonModule } from '@angular/common';
|
|
import { TopbarComponent } from '@app/shared/topbar/topbar.component';
|
|
import { FooterComponent } from '@app/shared/footer/footer.component';
|
|
import { SidebarComponent } from '@app/shared/sidebar/sidebar.component';
|
|
import { MenuSelectionDirective } from '@app/shared/_directives/menu-selection.directive';
|
|
import { MenuToggleDirective } from '@app/shared/_directives/menu-toggle.directive';
|
|
import { RouterModule } from '@angular/router';
|
|
import { MatIconModule } from '@angular/material/icon';
|
|
import { TokenRatioPipe } from '@app/shared/_pipes/token-ratio.pipe';
|
|
import { ErrorDialogComponent } from '@app/shared/error-dialog/error-dialog.component';
|
|
import { MatDialogModule } from '@angular/material/dialog';
|
|
import { SafePipe } from '@app/shared/_pipes/safe.pipe';
|
|
import { NetworkStatusComponent } from './network-status/network-status.component';
|
|
|
|
@NgModule({
|
|
declarations: [
|
|
TopbarComponent,
|
|
FooterComponent,
|
|
SidebarComponent,
|
|
MenuSelectionDirective,
|
|
MenuToggleDirective,
|
|
TokenRatioPipe,
|
|
ErrorDialogComponent,
|
|
SafePipe,
|
|
NetworkStatusComponent,
|
|
],
|
|
exports: [
|
|
TopbarComponent,
|
|
FooterComponent,
|
|
SidebarComponent,
|
|
MenuSelectionDirective,
|
|
TokenRatioPipe,
|
|
SafePipe,
|
|
NetworkStatusComponent,
|
|
],
|
|
imports: [CommonModule, RouterModule, MatIconModule, MatDialogModule],
|
|
})
|
|
export class SharedModule {}
|