'use client'; import { ReactNode } from 'react'; interface ChartCardProps { title: string; subtitle?: string; children: ReactNode; className?: string; action?: ReactNode; } export function ChartCard({ title, subtitle, children, className = '', action }: ChartCardProps) { return (

{title}

{subtitle &&

{subtitle}

}
{action}
{children}
); }