import React from 'react'; import { GlassCard } from '@/components/ui/GlassCard'; import { formatAmount } from '@/lib/utils'; import { DirhamIcon } from '@/components/ui/custom-icons'; import { ArrowUpRight, ArrowDownLeft } from 'lucide-react'; const RecentTransactionsCard: React.FC = () => { const transactions = [ { date: 'Today, 2:30 PM', name: 'Carrefour', category: 'Food & Dining', amount: -450, type: 'expense' }, { date: 'Yesterday, 8:15 PM', name: 'Uber', category: 'Transportation', amount: -65, type: 'expense' }, { date: 'Feb 12, 10:00 AM', name: 'Freelance Project', category: 'Income', amount: 3500, type: 'income' }, { date: 'Feb 10, 6:45 PM', name: 'Zara', category: 'Shopping', amount: -320, type: 'expense' }, { date: 'Feb 08, 1:20 PM', name: 'DEWA Bill', category: 'Utilities', amount: -650, type: 'expense' }, ]; return (

Recent Transactions

{transactions.map((tx, index) => (
{tx.type === 'income' ? : }

{tx.name}

{tx.date} • {tx.category}

{tx.type === 'income' ? '+' : '-'} {formatAmount(Math.abs(tx.amount))}
))}
); }; export default RecentTransactionsCard;