# yatra/3.0.15/resources/js/lib/icon-map.ts

Yatra – Travel Booking &amp; Tour Operator Software, version 3.0.15. 86 lines.

- Page: https://pluginprobe.com/plugins/yatra/3.0.15/code/resources/js/lib/icon-map.ts
- Raw: https://pluginprobe.com/plugins/yatra/3.0.15/raw/resources/js/lib/icon-map.ts
- Modified: 2026-09-15T11:48:00+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/yatra/3.0.15/code/resources/js/lib/icon-map.ts#L10-L20`.

```typescript
/**
 * String → Lucide icon component map.
 *
 * White Label menu overrides persist icon choices as strings (so they
 * survive JSON serialization in wp_options); this map turns them back
 * into React components. Only icons listed in SELECTABLE_ICON_NAMES need
 * an entry here — anything missing falls back to the default icon at
 * render time.
 */

import type { LucideIcon } from "lucide-react";
import {
  LayoutDashboard,
  MapPin,
  Calendar,
  CalendarClock,
  CalendarDays,
  Star,
  BarChart3,
  Settings,
  Wrench,
  FileText,
  CreditCard,
  Package,
  UserCircle,
  Users,
  FolderTree,
  Tag,
  TrendingUp,
  List,
  Activity,
  Crown,
  Mail,
  Key,
  FileSignature,
  Route,
  BadgePercent,
  Plane,
  MessageSquare,
  Puzzle,
  RotateCcw,
  Sparkles,
  MessageCircle,
  Network,
} from "lucide-react";

export const ICON_MAP: Record<string, LucideIcon> = {
  LayoutDashboard,
  MapPin,
  Calendar,
  CalendarClock,
  CalendarDays,
  Star,
  BarChart3,
  Settings,
  Wrench,
  FileText,
  CreditCard,
  Package,
  UserCircle,
  Users,
  FolderTree,
  Tag,
  TrendingUp,
  List,
  Activity,
  Crown,
  Mail,
  Key,
  FileSignature,
  Route,
  BadgePercent,
  Plane,
  MessageSquare,
  Puzzle,
  RotateCcw,
  Sparkles,
  MessageCircle,
  Network,
  Tools: Wrench,
};

export function resolveIcon(name: string, fallback: LucideIcon): LucideIcon {
  return ICON_MAP[name] ?? fallback;
}

```
