feat: add star rating component and integrate it in HotelItem
This commit is contained in:
parent
ee61ef13db
commit
e8683dad06
6 changed files with 184 additions and 2 deletions
|
@ -7,4 +7,4 @@
|
|||
}
|
||||
</select>
|
||||
<img src="{{hotel.imageUrl}}" alt="Hotel">
|
||||
<p class="border-b border-black">{{hotel.rating}}</p>
|
||||
<app-star-rating [rating]="hotel.rating"></app-star-rating>
|
||||
|
|
Reference in a new issue