import React from 'react'; import { cn } from '@/lib/utils'; export interface TenantWelcomeLayoutProps { eyebrow?: string; title?: string; subtitle?: string; headerAction?: React.ReactNode; footer?: React.ReactNode; children: React.ReactNode; } export function TenantWelcomeLayout({ eyebrow, title, subtitle, headerAction, footer, children, }: TenantWelcomeLayoutProps) { React.useEffect(() => { document.body.classList.add('tenant-admin-theme', 'tenant-admin-welcome-theme'); return () => { document.body.classList.remove('tenant-admin-theme', 'tenant-admin-welcome-theme'); }; }, []); return (
{eyebrow && (

{eyebrow}

)} {title && (

{title}

)} {subtitle && (

{subtitle}

)}
{headerAction &&
{headerAction}
}
{children}
{footer && ( )}
); } TenantWelcomeLayout.displayName = 'TenantWelcomeLayout';