mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
@@ -47,10 +47,14 @@ export * from './year-view';
|
||||
A11yModule,
|
||||
],
|
||||
exports: [
|
||||
MdCalendar,
|
||||
MdCalendarBody,
|
||||
MdDatepicker,
|
||||
MdDatepickerContent,
|
||||
MdDatepickerInput,
|
||||
MdDatepickerToggle,
|
||||
MdMonthView,
|
||||
MdYearView,
|
||||
],
|
||||
declarations: [
|
||||
MdCalendar,
|
||||
|
||||
Reference in New Issue
Block a user