// frontend/components/SubRail.tsx "use client"; import { Icon } from "./Icon"; import type { IconName } from "./icons/paths"; export type RailItem = | { sep: true } | { sep?: false; id: string; icon: IconName; label: string; dot?: boolean }; export function SubRail({ items, active, onPick, }: { items: RailItem[]; active: string; onPick: (id: string) => void; }) { return ( ); }