feat: SW-1577 Implemented booking code city search * feat: SW-1577 Implemented booking code city search * feat: SW-1557 Strict comparison * feat: SW-1557 Review comments fix Approved-by: Michael Zetterberg Approved-by: Pontus Dreij
31 lines
677 B
TypeScript
31 lines
677 B
TypeScript
"use client"
|
|
|
|
import { APIProvider } from "@vis.gl/react-google-maps"
|
|
|
|
import SelectHotelMapContent from "./SelectHotelMapContent"
|
|
|
|
import type { SelectHotelMapProps } from "@/types/components/hotelReservation/selectHotel/map"
|
|
|
|
export default function SelectHotelMap({
|
|
apiKey,
|
|
hotelPins,
|
|
mapId,
|
|
hotels,
|
|
filterList,
|
|
cityCoordinates,
|
|
bookingCode,
|
|
}: SelectHotelMapProps) {
|
|
return (
|
|
<APIProvider apiKey={apiKey}>
|
|
<SelectHotelMapContent
|
|
hotelPins={hotelPins}
|
|
cityCoordinates={cityCoordinates}
|
|
mapId={mapId}
|
|
hotels={hotels}
|
|
filterList={filterList}
|
|
bookingCode={bookingCode}
|
|
/>
|
|
</APIProvider>
|
|
)
|
|
}
|