Adds MatDialogModule

This commit is contained in:
Aaron Louie 2020-01-13 22:19:25 -05:00
parent 68226ee0a8
commit 393351574d
1 changed files with 9 additions and 2 deletions

View File

@ -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 {
}