69 lines
897 B
TypeScript
69 lines
897 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,
|
|
Ship,
|
|
FileText,
|
|
Shield,
|
|
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,
|
|
Ship,
|
|
FileText,
|
|
Shield,
|
|
}
|
|
|
|
export function resolveIcon(name: string): LucideIcon {
|
|
return ICON_MAP[name] ?? Puzzle
|
|
}
|