Files
web/components/Blocks/DynamicContent/Stays/Previous/EmptyPreviousStays/index.tsx
2024-11-04 13:50:32 +01:00

18 lines
487 B
TypeScript

import Title from "@/components/TempDesignSystem/Text/Title"
import { getIntl } from "@/i18n"
import styles from "./emptyPreviousStays.module.css"
export default async function EmptyPreviousStaysBlock() {
const { formatMessage } = await getIntl()
return (
<section className={styles.container}>
<Title as="h4" level="h3" color="red" textAlign="center">
{formatMessage({
id: "You have no previous stays.",
})}
</Title>
</section>
)
}