diff --git a/src/components/BudgetCard.tsx b/src/components/BudgetCard.tsx index 933bd22..ab6375b 100644 --- a/src/components/BudgetCard.tsx +++ b/src/components/BudgetCard.tsx @@ -1,6 +1,7 @@ import React from 'react'; import { cn } from '@/lib/utils'; +import { Coffee, Home, Car } from 'lucide-react'; interface BudgetCardProps { title: string; @@ -9,6 +10,13 @@ interface BudgetCardProps { color?: string; } +// Category icons mapping +const categoryIcons: Record = { + 식비: , + 생활비: , + 교통비: , +}; + const BudgetCard: React.FC = ({ title, current, @@ -34,7 +42,12 @@ const BudgetCard: React.FC = ({ return (
-

{title}

+
+
+ {categoryIcons[title]} +
+

{title}

+

{formattedCurrent}