Merged in feat/SW-344-hotel-map-pins-mobile (pull request #880)
Feat/SW-344 hotel map pins mobile Approved-by: Niclas Edenvin
This commit is contained in:
@@ -13,15 +13,13 @@ import type { Coordinates } from "@/types/components/maps/coordinates"
|
||||
export interface HotelListingProps {
|
||||
hotels: HotelData[]
|
||||
activeHotelPin?: string | null
|
||||
onHotelCardHover?: (hotelName: string | null) => void
|
||||
setActiveHotelPin: (hotelName: string | null) => void
|
||||
}
|
||||
|
||||
export interface SelectHotelMapProps {
|
||||
apiKey: string
|
||||
coordinates: Coordinates
|
||||
hotelPins: HotelPin[]
|
||||
mapId: string
|
||||
isModal: boolean
|
||||
hotels: HotelData[]
|
||||
}
|
||||
|
||||
@@ -40,6 +38,7 @@ export type HotelPin = {
|
||||
}[]
|
||||
amenities: Filter[]
|
||||
ratings: number | null
|
||||
operaId: string
|
||||
}
|
||||
|
||||
export interface HotelListingMapContentProps {
|
||||
@@ -50,6 +49,12 @@ export interface HotelListingMapContentProps {
|
||||
|
||||
export interface HotelCardDialogProps {
|
||||
isOpen: boolean
|
||||
pin: HotelPin
|
||||
data: HotelPin
|
||||
handleClose: (event: { stopPropagation: () => void }) => void
|
||||
}
|
||||
|
||||
export interface HotelCardDialogListingProps {
|
||||
hotels: HotelData[]
|
||||
activeCard: string | null | undefined
|
||||
onActiveCardChange: (hotelName: string | null) => void
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user