import { Monitor, Server, Settings, Smartphone, LucideIcon } from "lucide-react"; const CATEGORY_ICON_MAP: Record = { monitor: Monitor, server: Server, settings: Settings, smartphone: Smartphone, }; export function getCategoryIcon(iconName: string): LucideIcon { return CATEGORY_ICON_MAP[iconName] || Settings; // Settings as fallback }