Skip to content

Commit

Permalink
feat(datepicker): export unexported components for potential extension (
Browse files Browse the repository at this point in the history
#6314)

Although the team has export those files, but users can't redeclare them in another NgModule for angular constraints. It's impossible for someone to extend the functionality or create a custom date(time)picker view without this patch.
  • Loading branch information
e-cloud authored and mmalerba committed Aug 8, 2017
1 parent 4a1f10e commit 7bc648b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/datepicker/index.ts
Expand Up @@ -47,10 +47,14 @@ export * from './year-view';
A11yModule,
],
exports: [
MdCalendar,
MdCalendarBody,
MdDatepicker,
MdDatepickerContent,
MdDatepickerInput,
MdDatepickerToggle,
MdMonthView,
MdYearView,
],
declarations: [
MdCalendar,
Expand Down

0 comments on commit 7bc648b

Please sign in to comment.