mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
expose icon color property (#4248)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<ng-container *ngIf="isCustom; else: default">
|
||||
<mat-icon [svgIcon]="value"></mat-icon>
|
||||
<mat-icon [color]="color" [svgIcon]="value"></mat-icon>
|
||||
</ng-container>
|
||||
|
||||
<ng-template #default>
|
||||
<mat-icon>{{ value }}</mat-icon>
|
||||
<mat-icon [color]="color">{{ value }}</mat-icon>
|
||||
</ng-template>
|
||||
|
Reference in New Issue
Block a user