feat(SW-340): Added HotelCardDialog component
This commit is contained in:
@@ -17,9 +17,13 @@ import { hotelCardVariants } from "./variants"
|
||||
|
||||
import styles from "./hotelCard.module.css"
|
||||
|
||||
import { HotelCardListingType } from "@/types/components/hotelReservation/selectHotel/hotelCardListingProps"
|
||||
import type { HotelCardProps } from "@/types/components/hotelReservation/selectHotel/hotelCardProps"
|
||||
|
||||
export default function HotelCard({ hotel, type = "listing" }: HotelCardProps) {
|
||||
export default function HotelCard({
|
||||
hotel,
|
||||
type = HotelCardListingType.PageListing,
|
||||
}: HotelCardProps) {
|
||||
const intl = useIntl()
|
||||
|
||||
const { hotelData } = hotel
|
||||
|
||||
Reference in New Issue
Block a user