import { NgModule } from '@angular/core' ; import { CommonModule } from '@angular/common' ; import { MatButtonModule } from '@angular/material/button' ; import { MatCardModule } from '@angular/material/card' ; import { MatDialogModule } from '@angular/material/dialog' ; import { MatIconModule } from '@angular/material/icon' ; import { MatInputModule } from '@angular/material/input' ; import { MatListModule } from '@angular/material/list' ; import { MatMenuModule } from '@angular/material/menu' ; import { MatProgressSpinnerModule } from '@angular/material/progress-spinner' ; import { MatSidenavModule } from '@angular/material/sidenav' ; import { MatToolbarModule } from '@angular/material/toolbar' ; const MODULES = [ MatInputModule , MatCardModule , MatButtonModule , MatSidenavModule , MatListModule , MatIconModule , MatToolbarModule , MatProgressSpinnerModule , MatDialogModule , MatMenuModule ] ; @ NgModule ( { imports : MODULES , exports : MODULES } ) export class MaterialModule { }