feat(datepicker): export unexported components for potential extension (#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.
This commit is contained in:
Scott
2017-08-09 04:25:49 +08:00
committed by mmalerba
parent 4a1f10ecd5
commit 7bc648b3f3
+4
View File
@@ -47,10 +47,14 @@ export * from './year-view';
A11yModule,
],
exports: [
MdCalendar,
MdCalendarBody,
MdDatepicker,
MdDatepickerContent,
MdDatepickerInput,
MdDatepickerToggle,
MdMonthView,
MdYearView,
],
declarations: [
MdCalendar,