Add "기타" category

Adds "기타" category to the existing categories.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-22 06:31:08 +00:00
parent a8f29e669f
commit 8de82b17f0
7 changed files with 25 additions and 20 deletions

View File

@@ -1,23 +1,25 @@
import React from 'react';
import { Coffee, Home, Car, Banknote } from 'lucide-react';
import { Coffee, Home, Car, Package } from 'lucide-react';
// 카테고리와 아이콘 매핑 정의
export const categoryIcons: Record<string, React.ReactNode> = {
: <Coffee size={18} />,
: <Home size={18} />,
: <Car size={18} />,
: <Package size={18} />,
: <Banknote size={18} />,
};
// 지출 카테고리 목록 - 3개로 제한
export const EXPENSE_CATEGORIES = ['음식', '쇼핑', '교통비'];
// 지출 카테고리 목록 - 4개로 확장
export const EXPENSE_CATEGORIES = ['음식', '쇼핑', '교통비', '기타'];
// 카테고리 부가 설명 정의
export const CATEGORY_DESCRIPTIONS: Record<string, string> = {
: '(식비, 음료)',
: '',
: '(차량 유지비)',
: '(기타 지출)',
: '(식비, 음료)', // 이전 이름과의 호환성 유지
: '', // 이전 이름과의 호환성 유지
};
@@ -26,8 +28,9 @@ export const CATEGORY_DESCRIPTIONS: Record<string, string> = {
export const DEFAULT_CATEGORY_BUDGETS = {
음식: 400000,
쇼핑: 600000,
교통비: 200000
교통비: 200000,
기타: 100000
};
// 기본 월간 예산
export const DEFAULT_MONTHLY_BUDGET = 1200000;
export const DEFAULT_MONTHLY_BUDGET = 1300000;