From 393351574d5a8eea7a4cb46c8c1307ad453e7685 Mon Sep 17 00:00:00 2001 From: Aaron Louie Date: Mon, 13 Jan 2020 22:19:25 -0500 Subject: [PATCH] Adds MatDialogModule --- src/app/app.module.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 4872b6c..9ff5bc1 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -3,20 +3,24 @@ import {NgModule} from '@angular/core'; import {FlexLayoutModule} from '@angular/flex-layout'; import {FormsModule, ReactiveFormsModule} from '@angular/forms'; import {MatButtonModule} from '@angular/material/button'; +import {MatDialogModule} from '@angular/material/dialog'; import {MatIconModule} from '@angular/material/icon'; import {MatInputModule} from '@angular/material/input'; import {MatMenuModule} from '@angular/material/menu'; +import {MatSnackBarModule} from '@angular/material/snack-bar'; import {MatTabsModule} from '@angular/material/tabs'; import {MatToolbarModule} from '@angular/material/toolbar'; import {BrowserModule} from '@angular/platform-browser'; import {BrowserAnimationsModule} from '@angular/platform-browser/animations'; import {AppComponent} from './app.component'; import {DiagramComponent} from './diagram/diagram.component'; +import { NewFileDialogComponent } from './new-file-dialog/new-file-dialog.component'; @NgModule({ declarations: [ AppComponent, - DiagramComponent + DiagramComponent, + NewFileDialogComponent ], imports: [ BrowserAnimationsModule, @@ -25,14 +29,17 @@ import {DiagramComponent} from './diagram/diagram.component'; FormsModule, HttpClientModule, MatButtonModule, + MatDialogModule, MatIconModule, MatInputModule, MatMenuModule, + MatSnackBarModule, MatTabsModule, MatToolbarModule, ReactiveFormsModule, ], - bootstrap: [AppComponent] + bootstrap: [AppComponent], + entryComponents: [NewFileDialogComponent], }) export class AppModule { }