mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3874] icon component (#4112)
* adf-icon component * demo shell example page * add docs * integration with thumbnail service
This commit is contained in:
committed by
Eugenio Romano
parent
96e16fb046
commit
7dde329d81
7
lib/core/icon/icon.component.html
Normal file
7
lib/core/icon/icon.component.html
Normal file
@@ -0,0 +1,7 @@
|
||||
<ng-container *ngIf="isCustom; else: default">
|
||||
<mat-icon [svgIcon]="value"></mat-icon>
|
||||
</ng-container>
|
||||
|
||||
<ng-template #default>
|
||||
<mat-icon>{{ value }}</mat-icon>
|
||||
</ng-template>
|
Reference in New Issue
Block a user