composant icon into card-resto

This commit is contained in:
Thomas Cardon 2022-02-11 14:16:59 +01:00
parent 1b520593cd
commit 5d3549b0b6
3 changed files with 17 additions and 10 deletions

View file

@ -1,6 +1,6 @@
<div (mouseleave)="onMouseLeave()">
<app-icon *ngFor="let star of starStates; let starIndex = index"
[iconName]="star.stateHoverUser ? 'star-fill' : 'star'"
[iconName]="star.stateHoverUser ? 'bi-star-fill' : 'bi-star'"
[iconSize]="2.5"
[iconColor]="'#ffbf00'"
style="padding: 6px;"

View file

@ -1,3 +1,3 @@
<i class="bi-{{iconName}}"
<i class="{{iconName}}"
[ngStyle]="{'font-size.rem': iconSize, 'color': iconColor}"></i>