import { ReactNode } from 'react'; import { cn } from '@/lib/utils'; export interface ChartProps { children: ReactNode; title?: string; className?: string; height?: number; width?: number; } /** * Composant de base pour les charts. */ export function Chart({ children, title, className, height = 300, width, }: ChartProps) { return (
{title && (

{title}

)}
{children}
); }