fix(SW-952): New HotelCard for Map in mobile

This commit is contained in:
Pontus Dreij
2024-12-17 14:03:25 +01:00
parent c468669776
commit 71b11f33ac
12 changed files with 465 additions and 159 deletions

View File

@@ -45,11 +45,21 @@ export interface HotelListingMapContentProps {
}
export interface HotelCardDialogProps {
type?: "listing" | "standalone"
isOpen: boolean
data: HotelPin
handleClose: (event: { stopPropagation: () => void }) => void
}
export interface HotelCardDialogImageProps {
firstImage: string | undefined
altText: string | undefined
ratings: number
imageError: boolean
setImageError: (error: boolean) => void
position: "top" | "left"
}
export interface HotelCardDialogListingProps {
hotels: HotelData[] | null
}