'use client' import React from 'react' interface ChartCardProps { title: string subtitle?: string children: React.ReactNode className?: string } const ChartCard: React.FC = ({ title, subtitle, children, className = '' }) => { const interSemiboldStyle = { fontFamily: 'Inter, sans-serif', fontWeight: 600 } const interRegularStyle = { fontFamily: 'Inter, sans-serif', fontWeight: 400 } return (

{title}

{subtitle && (

{subtitle}

)}
{children}
) } export default ChartCard