File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 1
1
``` ts
2
2
import { Component } from ' @angular/core' ;
3
+ import { IonIcon , IonText } from ' @ionic/angular/standalone' ;
3
4
4
5
import { addIcons } from ' ionicons' ;
5
6
import { warning } from ' ionicons/icons' ;
@@ -8,6 +9,7 @@ import { warning } from 'ionicons/icons';
8
9
selector: ' app-example' ,
9
10
templateUrl: ' example.component.html' ,
10
11
styleUrls: [' example.component.css' ],
12
+ imports: [IonIcon , IonText ],
11
13
})
12
14
export class ExampleComponent {
13
15
constructor () {
Original file line number Diff line number Diff line change 1
1
``` ts
2
2
import { Component } from ' @angular/core' ;
3
+ import { IonIcon , IonText } from ' @ionic/angular/standalone' ;
3
4
4
5
import { addIcons } from ' ionicons' ;
5
6
import { warning } from ' ionicons/icons' ;
@@ -8,6 +9,7 @@ import { warning } from 'ionicons/icons';
8
9
selector: ' app-example' ,
9
10
templateUrl: ' example.component.html' ,
10
11
styleUrls: [' example.component.css' ],
12
+ imports: [IonIcon , IonText ],
11
13
})
12
14
export class ExampleComponent {
13
15
constructor () {
You can’t perform that action at this time.
0 commit comments