feat(SW-340): Added hotel pins

This commit is contained in:
Pontus Dreij
2024-11-06 14:27:55 +01:00
parent fe6582ccbb
commit 378225f995
14 changed files with 321 additions and 129 deletions

View File

@@ -1,5 +1,4 @@
import { Coordinates } from "@/types/components/maps/coordinates"
import type { PointOfInterest } from "@/types/hotel"
export interface HotelListingProps {
// pointsOfInterest: PointOfInterest[]
@@ -10,7 +9,15 @@ export interface HotelListingProps {
export interface SelectHotelMapProps {
apiKey: string
coordinates: Coordinates
pointsOfInterest: PointOfInterest[]
hotelPins: HotelPin[]
mapId: string
isModal: boolean
}
export type HotelPin = {
name: string
coordinates: Coordinates
price: string
currency: string
image: string
}