import React from 'react'; import { GlassCard } from '@/components/ui/GlassCard'; import { formatAmount } from '@/lib/utils'; import { DirhamIcon } from '@/components/ui/custom-icons'; import { TrendingUp, BarChart3, ArrowUpRight, Coins, Library } from 'lucide-react'; interface PortfolioSummaryCardsProps { overview: { totalValue: number; totalInvested: number; totalGains: number; gainPercentage: number; dayChange: number; dayChangePercent: number; }; holdingsCount: number; } const PortfolioSummaryCards: React.FC = ({ overview, holdingsCount }) => { return (
{/* Total Value */}

Total Value

{formatAmount(overview.totalValue)}

+{overview.gainPercentage}%
{/* Today's Change */}

Today's Change

{formatAmount(overview.dayChange)}

+{overview.dayChangePercent}%
{/* Holdings Count */}

Holdings

{holdingsCount}

Active Positions

{/* Performance / Total Gains */}

Total Gains

{formatAmount(overview.totalGains)}

vs {formatAmount(overview.totalInvested)} invested
); }; export default PortfolioSummaryCards;