/* global React */ // Yomee — Radiografía icons + bottom nav. // All icons are 20x20 stroke icons styled to match the existing app's // hand-drawn-but-clean line style. Colors are passed in as `stroke`. const RadioIcon = ({ name, stroke = "#1a6b3f", size = 20 }) => { const common = { width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke, strokeWidth: 1.8, strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": true, }; switch (name) { case "plane": return ( ); case "coffee": return ( ); case "split": return ( ); case "tag": return ( ); case "alert": return ( ); case "subscriptions": return ( ); case "calendar": return ( ); case "anchor": return ( ); case "eye": return ( ); case "eye-off": return ( ); case "chevron-right": return ( ); case "chevron-down": return ( ); case "warning-tri": return ( ); case "tab-radio": return ( ); case "tab-help": return ( ); case "tab-profile": return ( ); case "arrow-up-pill": return ( ); default: return null; } }; // ──────────────────────────────────────────────── // BottomNav — fixed bottom bar with 3 tabs. // 64px tall, white surface, hairline top border. // ──────────────────────────────────────────────── function BottomNav({ active = "radio", accent = "#1a6b3f" }) { const tabs = [ { id: "radio", label: "Radiografía", icon: "tab-radio" }, { id: "help", label: "Ayuda", icon: "tab-help" }, { id: "profile", label: "Perfil", icon: "tab-profile" }, ]; return (
{tabs.map((t) => { const isActive = t.id === active; const color = isActive ? accent : "#9aa0a6"; return ( ); })}
); } window.RadioIcon = RadioIcon; window.RadioBottomNav = BottomNav;