interface StatCardProps { title: string; value: number | string; icon?: React.ReactNode; trend?: { value: number; isPositive: boolean; }; subtitle?: string; } export function StatCard({ title, value, icon, trend, subtitle }: StatCardProps) { return (
{value}
{trend && ( {trend.isPositive ? '↑' : '↓'} {Math.abs(trend.value)}% )}{subtitle}
)}