Use the interactive map on the map page
This commit is contained in:
@@ -3,3 +3,11 @@ import { Hotel } from "@/types/hotel"
|
||||
export type HotelFiltersProps = {
|
||||
filters: Hotel["detailedFacilities"]
|
||||
}
|
||||
|
||||
export type Filter = {
|
||||
name: string
|
||||
id: number
|
||||
public: boolean
|
||||
sortOrder: number
|
||||
code?: string
|
||||
}
|
||||
15
types/components/hotelReservation/selectHotel/map.ts
Normal file
15
types/components/hotelReservation/selectHotel/map.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { Coordinates } from "@/types/components/maps/coordinates"
|
||||
import type { PointOfInterest } from "@/types/hotel"
|
||||
|
||||
export interface HotelListingProps {
|
||||
// pointsOfInterest: PointOfInterest[]
|
||||
// activePoi: PointOfInterest["name"] | null
|
||||
// onActivePoiChange: (poi: PointOfInterest["name"] | null) => void
|
||||
}
|
||||
|
||||
export interface SelectHotelMapProps {
|
||||
apiKey: string
|
||||
coordinates: Coordinates
|
||||
pointsOfInterest: PointOfInterest[]
|
||||
mapId: string
|
||||
}
|
||||
Reference in New Issue
Block a user