feat(SW-340): Added Hotel Card Listing on map
This commit is contained in:
@@ -4,6 +4,7 @@ import { Hotel } from "@/types/hotel"
|
||||
|
||||
export type HotelCardListingProps = {
|
||||
hotelData: HotelData[]
|
||||
type?: "map" | "listing"
|
||||
}
|
||||
|
||||
export type HotelData = {
|
||||
|
||||
@@ -2,4 +2,5 @@ import { HotelData } from "./hotelCardListingProps"
|
||||
|
||||
export type HotelCardProps = {
|
||||
hotel: HotelData
|
||||
type?: "map" | "listing"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
import { Coordinates } from "@/types/components/maps/coordinates"
|
||||
import { HotelData } from "./hotelCardListingProps"
|
||||
|
||||
import type { Coordinates } from "@/types/components/maps/coordinates"
|
||||
|
||||
export interface HotelListingProps {
|
||||
hotels: HotelData[]
|
||||
// pointsOfInterest: PointOfInterest[]
|
||||
// activePoi: PointOfInterest["name"] | null
|
||||
// onActivePoiChange: (poi: PointOfInterest["name"] | null) => void
|
||||
@@ -12,6 +15,7 @@ export interface SelectHotelMapProps {
|
||||
hotelPins: HotelPin[]
|
||||
mapId: string
|
||||
isModal: boolean
|
||||
hotels: HotelData[]
|
||||
}
|
||||
|
||||
export type HotelPin = {
|
||||
|
||||
Reference in New Issue
Block a user