"use client"; import { Building2, Layers, Settings } from "lucide-react"; import { Tooltip, TooltipContent, TooltipTrigger, } from "@/components/ui/primitives/tooltip"; import { cn } from "@/lib/utils"; export type PanelId = "site" | "collections" | "settings"; interface IconRailProps { activePanel: PanelId; onPanelChange: (panel: PanelId) => void; className?: string; } const panels: { id: PanelId; icon: typeof Building2; label: string }[] = [ { id: "site", icon: Building2, label: "Site" }, { id: "collections", icon: Layers, label: "Collections" }, { id: "settings", icon: Settings, label: "Settings" }, ]; export function IconRail({ activePanel, onPanelChange, className, }: IconRailProps) { return (