import { TrendingUp, TrendingDown, Minus } from 'lucide-react'; export default function StatCard({ title, value, change, changeType = 'neutral', subtitle, icon: Icon }) { const ChangeIcon = changeType === 'up' ? TrendingUp : changeType === 'down' ? TrendingDown : Minus; const changeColor = changeType === 'up' ? 'text-green-400' : changeType === 'down' ? 'text-crimson-400' : 'text-obsidian-400'; return (
{title}
{value}
{change && ({subtitle}
}