import { NgModule } from '@angular/core' ; import { MatIconModule } from '@angular/material/icon' ; import { MatCardModule } from '@angular/material/card' ; import { MatListModule } from '@angular/material/list' ; import { MatMenuModule } from '@angular/material/menu' ; import { MatInputModule } from '@angular/material/input' ; import { MatChipsModule } from '@angular/material/chips' ; import { MatBadgeModule } from '@angular/material/badge' ; import { MatButtonModule } from '@angular/material/button' ; import { MatToolbarModule } from '@angular/material/toolbar' ; import { MatDividerModule } from '@angular/material/divider' ; import { MatTooltipModule } from '@angular/material/tooltip' ; import { MatSidenavModule } from '@angular/material/sidenav' ; import { MatCheckboxModule } from '@angular/material/checkbox' ; import { MatSnackBarModule } from '@angular/material/snack-bar' ; import { MatFormFieldModule } from '@angular/material/form-field' ; import { MatExpansionModule } from '@angular/material/expansion' ; import { MatSlideToggleModule } from '@angular/material/slide-toggle' ; import { MatProgressBarModule } from '@angular/material/progress-bar' ; import { MatAutocompleteModule } from '@angular/material/autocomplete' ; import { MatButtonToggleModule } from '@angular/material/button-toggle' ; import { MatProgressSpinnerModule } from '@angular/material/progress-spinner' ; import { MatTableModule } from '@angular/material/table' ; import { MatSelectModule } from '@angular/material/select' ; import { MatDialogModule } from '@angular/material/dialog' ; import { MatRadioModule } from '@angular/material/radio' ; import { MatTabsModule } from '@angular/material/tabs' ; import { MatPaginatorModule } from '@angular/material/paginator' ; import { MatRippleModule } from '@angular/material/core' ; import { DragDropModule } from '@angular/cdk/drag-drop' ; const MaterialModules = [ MatIconModule , MatCardModule , MatListModule , MatMenuModule , MatInputModule , MatChipsModule , MatBadgeModule , MatButtonModule , MatToolbarModule , MatDividerModule , MatTooltipModule , MatSidenavModule , MatCheckboxModule , MatSnackBarModule , MatFormFieldModule , MatExpansionModule , MatSlideToggleModule , MatProgressBarModule , MatAutocompleteModule , MatButtonToggleModule , MatProgressSpinnerModule , MatTableModule , MatRadioModule , MatSelectModule , MatDialogModule , MatTabsModule , MatPaginatorModule , MatRippleModule , DragDropModule ] ; @ NgModule ( { imports : [ ... MaterialModules ] , exports : [ ... MaterialModules ] } ) export class MaterialModule { }