import type React from "react" import { IoBarChart, IoPeople, IoCart, IoTrendingUp, IoTrendingDown, IoCash } from "react-icons/io5" import { Card, CardContent, CardFooter, CardHeader, CardTitle } from "@/components/ui/card" import { cn } from "@/lib/utils" interface StatCardProps { title: string value: string description?: string icon?: React.ReactNode trend?: { value: string positive: boolean } className?: string } function StatCard({ title, value, description, icon, trend, className }: StatCardProps) { return ( {title} {icon &&
{icon}
}
{value}
{description &&

{description}

}
{trend && (
{trend.positive ? : } {trend.value} from last month
)}
) } export function DashboardStatsBlock() { return (
} trend={{ value: "+20.1%", positive: true }} /> } trend={{ value: "+10.1%", positive: true }} /> } trend={{ value: "-5.2%", positive: false }} /> } trend={{ value: "+12.4%", positive: true }} />
) }