Files
lotteryAdmin/src/modules/_config/admin-nav-icons.tsx

44 lines
927 B
TypeScript

import type { LucideIcon } from "lucide-react";
import {
CalendarClock,
CircleDollarSign,
FileSpreadsheet,
Headphones,
Landmark,
LayoutDashboard,
LogIn,
Scale,
ScrollText,
Settings,
ShieldAlert,
ShieldCheck,
SlidersHorizontal,
Ticket,
Users,
Wallet,
} from "lucide-react";
import type { AdminNavItem } from "@/modules/_config/admin-nav";
/** 与 {@link AdminNavItem}["segment"] 一一对应 */
export const adminNavIconBySegment: Record<AdminNavItem["segment"], LucideIcon> =
{
dashboard: LayoutDashboard,
service_desk: Headphones,
players: Users,
draws: CalendarClock,
config: SlidersHorizontal,
tickets: Ticket,
wallet: Wallet,
risk: ShieldAlert,
settlement: Landmark,
jackpot: CircleDollarSign,
reports: FileSpreadsheet,
reconcile: Scale,
audit: ScrollText,
admin_users: ShieldCheck,
settings: Settings,
};
export { LogIn };