Merged in refactor-tripadvisor-chip (pull request #3404)
Refactor TripadvisorChip * feat: create new StaticChip componeny * refactor tripadvisor chip to use ChipStatic * refactor: use TripadvisorChip everywhere * fix: use withChipStatic Approved-by: Erik Tiekstra
This commit is contained in:
@@ -59,7 +59,12 @@ export function HotelInfoCard({
|
||||
<div className={styles.imageWrapper}>
|
||||
<ImageGallery title={hotel.name} images={galleryImages} fill />
|
||||
{hotel.ratings?.tripAdvisor && (
|
||||
<TripAdvisorChip rating={hotel.ratings.tripAdvisor.rating} />
|
||||
<TripAdvisorChip
|
||||
rating={hotel.ratings.tripAdvisor.rating}
|
||||
color="Neutral"
|
||||
size="sm"
|
||||
wrapper="x2"
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
<div className={styles.hotelContent}>
|
||||
|
||||
Reference in New Issue
Block a user