"use client"; import dynamic from "next/dynamic"; import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; interface DonutChartProps { data: Array<{ name: string; value: number; color?: string }>; title?: string; centerText?: { title: string; value: string | number; }; colors?: string[]; height?: number; className?: string; } const ChartSkeleton = ({ height = 300 }: { height?: number }) => (