import Link from "next/link" import Stay from "./Stay" import Title from "@/components/MyPages/Title" import styles from "./upcoming.module.css" import type { LangParams } from "@/types/params" import type { StaysProps } from "@/types/components/myPages/myPage/stays" export default function UpcomingStays({ lang, stays, title, preamble, link, }: StaysProps & LangParams) { return (
{title} {link && ( {link.text} )}
{stays.map((stay) => ( ))}
) }