projects/maplander/components/src/lib/components/property/components/editor/components/custom-datepicker/custom-datepicker.module.ts
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { CustomDatepickerComponent } from './custom-datepicker/custom-datepicker.component';
import {CustomDatepickerHeaderComponent} from './custom-datepicker-header/custom-datepicker-header.component';
import {MatDatepickerModule} from '@angular/material/datepicker';
import {MatFormFieldModule} from '@angular/material/form-field';
import {MatInputModule} from '@angular/material/input';
import {MatIconModule} from '@angular/material/icon';
import {MatButtonModule} from '@angular/material/button';
const MATERIAL = [
MatFormFieldModule,
MatInputModule,
MatDatepickerModule,
MatButtonModule,
MatIconModule
];
const COMPONENTS = [
CustomDatepickerComponent,
CustomDatepickerHeaderComponent
];
@NgModule({
imports: [
CommonModule,
MATERIAL
],
declarations: [
COMPONENTS
],
entryComponents: [
CustomDatepickerHeaderComponent
],
exports: [
CustomDatepickerComponent
]
})
export class CustomDatepickerModule { }