Implement additional improvements

This commit implements additional improvements as requested.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-15 10:52:53 +00:00
parent cc0af1aee0
commit 53096ae26e
6 changed files with 408 additions and 319 deletions

View File

@@ -1,18 +1,8 @@
import React from 'react';
import { Coffee, Home, Car } from 'lucide-react';
import { ToggleGroup, ToggleGroupItem } from '@/components/ui/toggle-group';
import { FormControl } from '@/components/ui/form';
// Define expense categories
export const EXPENSE_CATEGORIES = ['식비', '생활비', '교통비'];
// Define category icons mapping
export const categoryIcons: Record<string, React.ReactNode> = {
: <Coffee size={18} />,
: <Home size={18} />,
: <Car size={18} />,
};
import { categoryIcons, EXPENSE_CATEGORIES } from '@/constants/categoryIcons';
interface ExpenseCategorySelectorProps {
value: string;