'use client'; import type { ReactNode } from 'react'; import { useTranslations } from 'next-intl'; import { Button } from '@/components/ui/button'; import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from '@/components/ui/card'; interface SectionShellProps { title: string; description: string; titleExtra?: ReactNode; formId: string; saving?: boolean; children: ReactNode; } export function SectionShell({ title, description, titleExtra, formId, saving = false, children, }: SectionShellProps) { const t = useTranslations('proxyRoutes'); const tc = useTranslations('common'); return (
{title} {titleExtra}
{description}
{children}
); }