This repository was archived by the owner on Dec 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 7
7
MatTabsModule ,
8
8
MatTooltipModule ,
9
9
MatSnackBarModule ,
10
- PortalModule
11
10
} from '@angular/material' ;
11
+ import { PortalModule } from '@angular/cdk/portal' ;
12
12
import { CommonModule } from '@angular/common' ;
13
13
import { NgModule } from '@angular/core' ;
14
14
import { HeaderLink } from './header-link' ;
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ import {
11
11
Output ,
12
12
} from '@angular/core' ;
13
13
import { Http } from '@angular/http' ;
14
- import { ComponentPortal , DomPortalHost } from '@angular/material' ;
15
14
import { Subscription } from 'rxjs/Subscription' ;
16
15
import { ExampleViewer } from '../example-viewer/example-viewer' ;
17
16
import { HeaderLink } from './header-link' ;
17
+ import { ComponentPortal , DomPortalHost } from '@angular/cdk/portal' ;
18
18
19
19
@Component ( {
20
20
selector : 'doc-viewer' ,
Original file line number Diff line number Diff line change 1
1
import { Component , Input } from '@angular/core' ;
2
- import { ComponentPortal , MatSnackBar } from '@angular/material' ;
2
+ import { MatSnackBar } from '@angular/material' ;
3
+ import { ComponentPortal } from '@angular/cdk/portal' ;
3
4
import 'rxjs/add/operator/first' ;
4
5
5
6
import { EXAMPLE_COMPONENTS , LiveExample } from '@angular/material-examples' ;
You can’t perform that action at this time.
0 commit comments