import { Pencil, Trash2 } from "lucide-react"; import { getCategoryIcon } from "@/lib/icons"; import { formatCurrency } from "@/lib/format"; import { useTranslation } from "@/lib/i18n"; import { translateCategoryName } from "@/lib/categoryLabels"; import type { BudgetStatus } from "@/types"; interface BudgetListProps { items: BudgetStatus[]; onEdit: (item: BudgetStatus) => void; onDelete: (item: BudgetStatus) => void; } export function BudgetList({ items, onEdit, onDelete }: BudgetListProps) { const { t } = useTranslation(); if (items.length === 0) { return

{t("budget.empty")}

; } return ( ); }