feat(SW-340): Added hotel pins
This commit is contained in:
@@ -1,13 +1,18 @@
|
||||
import { ReactElement } from "react"
|
||||
|
||||
import { HotelPin } from "../../hotelReservation/selectHotel/map"
|
||||
|
||||
import type { Coordinates } from "@/types/components/maps/coordinates"
|
||||
import type { PointOfInterest } from "@/types/hotel"
|
||||
|
||||
export interface InteractiveMapProps {
|
||||
coordinates: Coordinates
|
||||
pointsOfInterest: PointOfInterest[]
|
||||
activePoi: PointOfInterest["name"] | null
|
||||
pointsOfInterest?: PointOfInterest[]
|
||||
activePoi?: PointOfInterest["name"] | null
|
||||
hotelPins?: HotelPin[]
|
||||
activeHotelPin?: HotelPin["name"] | null
|
||||
mapId: string
|
||||
onActivePoiChange: (poi: PointOfInterest["name"] | null) => void
|
||||
closeButton: ReactElement
|
||||
onActivePoiChange?: (poi: PointOfInterest["name"] | null) => void
|
||||
onActiveHotelPinChange?: (hotelPin: PointOfInterest["name"] | null) => void
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user