Skip to content

Commit

Permalink
Merge pull request #1000 from IgniteUI/update-datepicker-stackblitz-c…
Browse files Browse the repository at this point in the history
…onfig

Add config dor datepicker-dropdown
  • Loading branch information
bkulov authored Feb 28, 2019
2 parents 021e963 + d1d35ea commit 4f7690b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions live-editing/configs/DatePickerConfigGenerator.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* tslint:disable:object-literal-sort-keys */
// tslint:disable:max-line-length
import { IgxDatePickerModule, IgxIconModule, IgxInputGroupModule } from "igniteui-angular";
import { DatepickerDropdownComponent } from "../../src/app/scheduling/datepicker/datepicker-dropdown/datepicker-dropdown.component";
import { DatepickerSample1Component } from "../../src/app/scheduling/datepicker/datepicker-sample-1/datepicker-sample-1.component";
import { DatepickerSample2Component } from "../../src/app/scheduling/datepicker/datepicker-sample-2/datepicker-sample-2.component";
import { DatepickerSample3Component } from "../../src/app/scheduling/datepicker/datepicker-sample-3/datepicker-sample-3.component";
Expand Down Expand Up @@ -81,6 +82,16 @@ export class DatePickerConfigGenerator implements IConfigGenerator {
})
}));

// date picker sample `datepicker-dropdown`
configs.push(new Config({
component: DatepickerDropdownComponent,
appModuleConfig: new AppModuleConfig({
imports: [IgxDatePickerModule, DatepickerDropdownComponent, IgxIconModule, IgxInputGroupModule],
ngDeclarations: [DatepickerDropdownComponent],
ngImports: [IgxDatePickerModule, IgxIconModule, IgxInputGroupModule]
})
}));

return configs;
}
}

0 comments on commit 4f7690b

Please sign in to comment.