Skip to content

Commit 70861fe

Browse files
crisbetoandrewseguin
authored andcommitted
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.
1 parent 1f3324e commit 70861fe

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/cdk-experimental/dialog/dialog-module.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ import {
3131
A11yModule,
3232
],
3333
exports: [
34+
// Re-export the PortalModule so that people extending the `CdkDialogContainer`
35+
// don't have to remember to import it or be faced with an unhelpful error.
36+
PortalModule,
3437
CdkDialogContainer,
3538
],
3639
declarations: [

0 commit comments

Comments
 (0)