Skip to content

Commit 7bc648b

Browse files
e-cloudmmalerba
authored andcommitted
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.
1 parent 4a1f10e commit 7bc648b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/lib/datepicker/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,14 @@ export * from './year-view';
4747
A11yModule,
4848
],
4949
exports: [
50+
MdCalendar,
51+
MdCalendarBody,
5052
MdDatepicker,
5153
MdDatepickerContent,
5254
MdDatepickerInput,
5355
MdDatepickerToggle,
56+
MdMonthView,
57+
MdYearView,
5458
],
5559
declarations: [
5660
MdCalendar,

0 commit comments

Comments
 (0)