composant icon into card-resto
This commit is contained in:
parent
1b520593cd
commit
5d3549b0b6
3 changed files with 17 additions and 10 deletions
|
|
@ -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;"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
<i class="bi-{{iconName}}"
|
||||
<i class="{{iconName}}"
|
||||
[ngStyle]="{'font-size.rem': iconSize, 'color': iconColor}"></i>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue