import { NgModule } from '@angular/core';
import {
  MatSlideToggleModule,
  MatToolbarModule,
  MatDatepickerModule,
  MatNativeDateModule,
  MatGridListModule,
  MatInputModule,
  MatTableModule,
  MatSortModule,
  MatCheckboxModule,
  MatFormFieldModule,
  MatButtonModule,
  MatCardModule
} from '@angular/material';

const modules = [
  MatSlideToggleModule,
  MatToolbarModule,
  MatDatepickerModule,
  MatNativeDateModule,
  MatGridListModule,
  MatInputModule,
  MatTableModule,
  MatSortModule,
  MatCheckboxModule,
  MatFormFieldModule,
  MatButtonModule,
  MatCardModule
];

@NgModule({
  imports: modules,
  exports: modules,
})
export class MaterialModule {}
