Files
formbricks/apps/web/modules/auth/invite/components/content-layout.tsx
T
Piyush Gupta 06e00f3066 chore: invite types (#4613)
Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com>
2025-01-31 06:56:55 +00:00

18 lines
541 B
TypeScript

interface ContentLayoutProps {
headline: string;
description: string;
children?: React.ReactNode;
}
export const ContentLayout = ({ headline, description, children }: ContentLayoutProps) => {
return (
<div className="flex h-screen">
<div className="m-auto flex flex-col gap-7 text-center text-slate-700">
<h2 className="text-3xl font-bold">{headline}</h2>
<p className="text-2xl">{description}</p>
<div className="flex justify-center gap-5 text-xs">{children}</div>
</div>
</div>
);
};