Files
web/components/MyPages/Blocks/Stays/Previous/EmptyPreviousStays/index.tsx
2024-07-10 07:57:11 +02: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="h5" level="h3" color="red" textAlign="center">
{formatMessage({
id: "You have no previous stays.",
})}
</Title>
</section>
)
}