"use client"; /** * Mode Switcher * Simple reusable mode switcher for switching between DocDoe modes */ import { useDocDoeMode } from "../mode-selection/useDocDoeMode"; import type { DocDoeMode } from "./modeStorage"; interface ModeSwitcherProps { className?: string; } export function ModeSwitcher({ className = "" }: ModeSwitcherProps) { const { mode, switchMode } = useDocDoeMode(); const modes: Array<{ mode: DocDoeMode; label: string; aria: string }> = [ { mode: "tuition", label: "Today's Tuition", aria: "Switch to Today's Tuition" }, { mode: "study-chat", label: "Study Chat", aria: "Switch to Study Chat" }, { mode: "learn-anything", label: "Learn Anything", aria: "Switch to Learn Anything" }, ]; return (