Projekt

Obecné

Profil

Stáhnout (682 Bajtů) Statistiky
| Větev: | Tag: | Revize:
1
import { NgModule } from '@angular/core';
2
import { CalendarModule, DateAdapter } from 'angular-calendar';
3
import { adapterFactory } from 'angular-calendar/date-adapters/date-fns';
4
import { DayPickerComponent } from './day-picker.component';
5
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
6

    
7
@NgModule({
8
  declarations: [ DayPickerComponent ],
9
  exports:      [ DayPickerComponent ],
10
  imports:      [
11
                  CalendarModule.forRoot({
12
                    provide: DateAdapter,
13
                    useFactory: adapterFactory
14
                  }),
15
                  BrowserAnimationsModule
16
                ],
17
})
18
export class DayPickerModule {}
(4-4/4)