'use client' import { Home, Cpu, CalendarDays, Settings } from 'lucide-react' type Tab = 'home' | 'devices' | 'calendar' | 'settings' interface SidebarProps { active: Tab onChange: (tab: Tab) => void } const navItems: { id: Tab; icon: any; label: string }[] = [ { id: 'home', icon: Home, label: 'Главная' }, { id: 'devices', icon: Cpu, label: 'Устройства' }, { id: 'calendar', icon: CalendarDays, label: 'Календарь' }, { id: 'settings', icon: Settings, label: 'Настройки' }, ] export default function Sidebar({ active, onChange }: SidebarProps) { return ( ) }