import type { LucideIcon } from "lucide-react"; import type { ReactNode } from "react"; import { Card, CardContent } from "@/components/ui/card"; interface MetricCardProps { icon: LucideIcon; value: string | number; label: string; description?: ReactNode; onClick?: () => void; } export function MetricCard({ icon: Icon, value, label, description, onClick }: MetricCardProps) { return (

{value}

{label}

{description && (
{description}
)}
); }