import Body from "@/components/TempDesignSystem/Text/Body" import { getIntl } from "@/i18n" import styles from "./parkingList.module.css" import type { ParkingListProps } from "@/types/components/hotelPage/sidepeek/parking" export default async function ParkingList({ numberOfChargingSpaces, canMakeReservation, numberOfParkingSpots, distanceToHotel, address, }: ParkingListProps) { const intl = await getIntl() const canMakeReservationYesMsg = intl.formatMessage({ id: "Parking can be reserved in advance: Yes", }) const canMakeReservationNoMsg = intl.formatMessage({ id: "Parking can be reserved in advance: No", }) return (