import { ArrowUpRight, ArrowDownRight, DollarSign } from 'lucide-react'; export default function SummaryCards({ income, expenses, profit }) { const formatCurrency = (amount) => { const formatted = new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD', minimumFractionDigits: 0, maximumFractionDigits: 0, }).format(amount); return amount >= 0 ? formatted : `-${formatted.replace('$', '')}`; }; const profitMargin = income > 0 ? ((profit / income) * 100).toFixed(1) : 0; const isPositive = profit >= 0; return (