feat: add star rating component and integrate it in HotelItem

This commit is contained in:
Jan K9f 2024-09-24 07:19:19 +02:00
commit e8683dad06
Signed by: jank
GPG key ID: B267751B8AE29EFE
6 changed files with 184 additions and 2 deletions

View file

@ -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>