import * as React from 'react'; import { clsx } from 'clsx'; import { TrendingUp, TrendingDown, Minus } from 'lucide-react'; export interface StatCardProps { label: string; value: string | number; trend?: 'up' | 'down' | 'flat'; trendValue?: string; icon?: React.ReactNode; className?: string; } export function StatCard({ label, value, trend, trendValue, icon, className }: StatCardProps) { const TrendIcon = trend === 'up' ? TrendingUp : trend === 'down' ? TrendingDown : Minus; return (
{label}
{value}