"use client"; import { Card, CardContent } from "@/components/ui/card"; import { LucideIcon } from "lucide-react"; interface StatCardData { label: string; value: string | number; icon?: LucideIcon; iconColor?: string; trend?: { value: string; isPositive: boolean; }; onClick?: () => void; isActive?: boolean; } interface StatCardsProps { stats: StatCardData[]; } export function StatCards({ stats }: StatCardsProps) { return (
{stat.label}
{stat.value}
{stat.trend && ({stat.trend.value}
)}