import { cn } from "@/lib/utils"; import type { LucideIcon } from "lucide-react"; interface StatCardProps { title: string; value: string | number; subtitle?: string; icon?: LucideIcon; className?: string; } export function StatCard({ title, value, subtitle, icon: Icon, className, }: StatCardProps) { return (

{title}

{value}

{subtitle && (

{subtitle}

)}
{Icon && (
)}
); }