import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { LucideIcon } from "lucide-react"; interface StatCardProps { title: string; value: string; change?: string; icon?: LucideIcon; customIcon?: string; } export function StatCard({ title, value, change, icon: Icon, customIcon }: StatCardProps) { return ( {title}
{customIcon ? ( {title} ) : Icon ? ( ) : null}
{value}
{change && (

{change}

)}
); }