Files
meezi/web/dashboard/src/components/placeholder-page.tsx
T

16 lines
467 B
TypeScript
Raw Normal View History

"use client";
import { useTranslations } from "next-intl";
export function PlaceholderPage({ titleKey }: { titleKey: string }) {
const tNav = useTranslations("nav");
const tCommon = useTranslations("common");
return (
<div className="flex h-64 items-center justify-center rounded-lg border border-dashed border-border">
<p className="text-muted-foreground">
{tNav(titleKey as "crm")} {tCommon("comingSoon")}
</p>
</div>
);
}