mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACS-5166] use published version of material icons (#8681)
* use published version of material icons * add support for custom font set
This commit is contained in:
@@ -3,5 +3,5 @@
|
||||
</ng-container>
|
||||
|
||||
<ng-template #default>
|
||||
<mat-icon [color]="color" aria-hidden="true">{{ value }}</mat-icon>
|
||||
<mat-icon [fontSet]="fontSet" [color]="color" aria-hidden="true">{{ value }}</mat-icon>
|
||||
</ng-template>
|
||||
|
@@ -39,6 +39,10 @@ export class IconComponent {
|
||||
@Input()
|
||||
color: ThemePalette;
|
||||
|
||||
/** Icon font set */
|
||||
@Input()
|
||||
fontSet: string;
|
||||
|
||||
get value(): string {
|
||||
return this._value;
|
||||
}
|
||||
|
Reference in New Issue
Block a user