import { Card, CardHeader, CardContent } from '@heroui/react'; import type { ReactNode } from 'react'; type Props = { title: string; subtitle?: string; children: ReactNode; action?: ReactNode; }; export function SectionCard({ title, subtitle, children, action }: Props) { return (

{title}

{subtitle &&

{subtitle}

}
{action &&
{action}
}
{children}
); }