import { NgModule } from '@angular/core' ; import { CommonModule } from '@angular/common' ; import { MatNativeDateModule , MatOptionModule } from '@angular/material/core' ; import { MatButtonModule } from '@angular/material/button' ; import { MatCardModule } from '@angular/material/card' ; import { MatDatepickerModule } from '@angular/material/datepicker' ; import { MatDialogModule } from '@angular/material/dialog' ; import { MatCheckboxModule } from '@angular/material/checkbox' ; import { MatGridListModule } from '@angular/material/grid-list' ; 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 { MatSelectModule } from '@angular/material/select' ; import { MatSidenavModule } from '@angular/material/sidenav' ; import { MatSlideToggleModule } from '@angular/material/slide-toggle' ; import { MatSnackBarModule } from '@angular/material/snack-bar' ; import { MatToolbarModule } from '@angular/material/toolbar' ; import { MatProgressSpinnerModule } from '@angular/material/progress-spinner' ; import { MatBadgeModule } from '@angular/material/badge' ; import { MatTooltipModule } from '@angular/material/tooltip' ; import { MatChipsModule } from '@angular/material/chips' ; import { MatAutocompleteModule } from '@angular/material/autocomplete' ; import { MatTableModule } from '@angular/material/table' ; import { MatSortModule } from '@angular/material/sort' ; import { MatPaginatorModule } from '@angular/material/paginator' ; import { MatExpansionModule } from '@angular/material/expansion' ; import { MatTreeModule } from '@angular/material/tree' ; const components = [ CommonModule , MatButtonModule , MatCardModule , MatDatepickerModule , MatDialogModule , MatCheckboxModule , MatGridListModule , MatIconModule , MatInputModule , MatListModule , MatMenuModule , MatNativeDateModule , MatOptionModule , MatSelectModule , MatSidenavModule , MatSlideToggleModule , MatSnackBarModule , MatToolbarModule , MatProgressSpinnerModule , MatBadgeModule , MatTooltipModule , MatChipsModule , MatAutocompleteModule , MatTableModule , MatSortModule , MatPaginatorModule , MatExpansionModule , MatTreeModule ] ; @ NgModule ( { imports : components , exports : components } ) export class MaterialComponentsModule { }