'use client' import { Home, LayoutGrid, Thermometer, Settings } from 'lucide-react' type Tab = 'home' | 'rooms' | 'sensors' | 'settings' interface SidebarProps { active: Tab onChange: (tab: Tab) => void } const navItems: { id: Tab; icon: React.ComponentType<{ size?: number; color?: string }> }[] = [ { id: 'home', icon: Home }, { id: 'rooms', icon: LayoutGrid }, { id: 'sensors', icon: Thermometer }, { id: 'settings', icon: Settings }, ] export default function Sidebar({ active, onChange }: SidebarProps) { return ( ) }