Files
accounted/lib/extensions/icon-resolver.tsx
T
Jakob WennbergandClaude Opus 4.6 3e7fa45ed6 feat: transaction categorization UX improvements and description matching
Add journal entry preview, human-readable account names, auto-apply VAT,
fallback template suggestions, example prompts, invoice match comparison,
and batch result feedback. Also includes user-description-match extension,
describe/batch-describe API routes, improved AI categorization with multi-
suggestion support, and template embedding search.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 16:02:06 +01:00

63 lines
837 B
TypeScript

import {
Camera,
Sparkles,
MessageSquare,
Bell,
Inbox,
Landmark,
UtensilsCrossed,
ChefHat,
Wine,
FileSpreadsheet,
HandCoins,
HardHat,
Calculator,
FolderKanban,
Hotel,
TrendingUp,
BedDouble,
Monitor,
Clock,
ReceiptText,
ShoppingCart,
Store,
BarChart3,
Layers,
Puzzle,
TextSearch,
type LucideIcon,
} from 'lucide-react'
const ICON_MAP: Record<string, LucideIcon> = {
Camera,
Sparkles,
MessageSquare,
Bell,
Inbox,
Landmark,
UtensilsCrossed,
ChefHat,
Wine,
FileSpreadsheet,
HandCoins,
HardHat,
Calculator,
FolderKanban,
Hotel,
TrendingUp,
BedDouble,
Monitor,
Clock,
ReceiptText,
ShoppingCart,
Store,
BarChart3,
Layers,
Puzzle,
TextSearch,
}
export function resolveIcon(name: string): LucideIcon {
return ICON_MAP[name] ?? Puzzle
}