import { DollarSign, Users, CreditCard, Activity } from "lucide-react"; import { Card, CardContent, CardHeader, CardTitle } from "../ui/card"; const stats = [ { title: "Total Revenue", value: "$45,231.89", change: "+20.1% from last month", icon: DollarSign, }, { title: "Active Users", value: "+2,350", change: "+180.1% from last month", icon: Users, }, { title: "Sales", value: "+12,234", change: "+19% from last month", icon: CreditCard, }, { title: "Active Now", value: "+573", change: "+201 since last hour", icon: Activity, }, ]; export function StatsCards() { return (
{stats.map((stat) => ( {stat.title}
{stat.value}

{stat.change}

))}
); }