Skip to content

Commit a4de300

Browse files
authored
feat(entity-renderer): ability to override icon size (#1426)
1 parent d2be5f5 commit a4de300

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

projects/observability/src/shared/components/entity-renderer/entity-renderer.component.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import { EntityNavigationService } from '../../services/navigation/entity/entity
3232
[color]="this.iconColor"
3333
class="icon"
3434
*ngIf="this.showIcon && this.entityIconType"
35-
size="${IconSize.Large}"
35+
[size]="this.iconSize"
3636
></ht-icon>
3737
<div class="name" data-sensitive-pii>{{ this.name | htDisplayString }}</div>
3838
</div>
@@ -55,6 +55,9 @@ export class EntityRendererComponent implements OnChanges {
5555
@Input()
5656
public iconColor?: string;
5757

58+
@Input()
59+
public iconSize: IconSize = IconSize.Large;
60+
5861
@Input()
5962
public showIcon: boolean = false;
6063

0 commit comments

Comments
 (0)