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:
Matilda Landström
2026-01-23 12:19:37 +00:00
parent 5171d2d4d7
commit ae77fa3028
18 changed files with 129 additions and 194 deletions

View File

@@ -40,7 +40,9 @@ export function HotelCardDialogImage({
{rating?.tripAdvisor && (
<TripAdvisorChip
rating={rating.tripAdvisor}
size={position === "top" ? "small" : "default"}
color="Neutral"
size={position === "top" ? "xs" : "sm"}
wrapper={position === "top" ? "x05" : "x15"}
/>
)}
</div>