mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(cdk-experimental/dialog): re-export portal module (#14908)
Re-exports the `PortalModule` from the `DialogModule` in `cdk-experimental/dialog`. This makes it easier to extend the existing `CdkDialogContainer`. Fixes #14900.
This commit is contained in:
committed by
Andrew Seguin
parent
1f3324ec1f
commit
70861fe8be
@@ -31,6 +31,9 @@ import {
|
||||
A11yModule,
|
||||
],
|
||||
exports: [
|
||||
// Re-export the PortalModule so that people extending the `CdkDialogContainer`
|
||||
// don't have to remember to import it or be faced with an unhelpful error.
|
||||
PortalModule,
|
||||
CdkDialogContainer,
|
||||
],
|
||||
declarations: [
|
||||
|
||||
Reference in New Issue
Block a user