import type { QuickActionType } from '../../data/mockData'; import { Button } from '../ui'; import { cls } from '../../utils/cls'; export type SectionKey = 'home' | 'exam' | 'booking' | 'support'; interface SidebarProps { active: SectionKey; onNavigate: (key: SectionKey) => void; onQuickAction: (action: Exclude) => void; } const IconHome = () => 🏠; const IconHospital = () => 🏥; const IconCalendar = () => 📅; const IconSupport = () => 💬; const NAV_ITEMS = [ { key: 'home', icon: IconHome, label: '首页' }, { key: 'exam', icon: IconHospital, label: '体检中心' }, { key: 'booking', icon: IconCalendar, label: '预约中心' }, { key: 'support', icon: IconSupport, label: '客服咨询' }, ] as const; export const Sidebar = ({ active, onNavigate, onQuickAction }: SidebarProps) => ( );