migrate angular 21
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
<button mat-button>
|
||||
<span *ngIf="icon"
|
||||
><fa-icon [icon]="icon"></fa-icon><span class="content"> </span></span
|
||||
>
|
||||
<span class="button-content">
|
||||
<ng-content></ng-content>
|
||||
</span>
|
||||
</button>
|
||||
@if (icon) {
|
||||
<span
|
||||
><fa-icon [icon]="icon"></fa-icon><span class="content"> </span></span
|
||||
>
|
||||
}
|
||||
<span class="button-content">
|
||||
<ng-content></ng-content>
|
||||
</span>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user