import Title from "@/components/TempDesignSystem/Text/Title" import { getIntl } from "@/i18n" import styles from "./summarySection.module.css" import { SummarySectionProps } from "@/types/components/hotelReservation/bookingConfirmation/bookingConfirmation" export default async function SummarySection({ summary }: SummarySectionProps) { const intl = await getIntl() return (
{intl.formatMessage({ id: "Summary" })}
{`Type of room: ${summary.roomType}`} 1648 SEK
{`Type of bed: ${summary.bedType}`} 0 SEK
{`Breakfast: ${summary.breakfast}`} 198 SEK
{`Flexibility: ${summary.flexibility}`} 200 SEK
) }