import React from 'react'; import type { IHTTPConnection, Protobuf, Types, } from '@meshtastic/meshtasticjs'; import type { LanguageEnum, languageTemplate } from '../App'; import SidebarChannels from './Sidebar/SidebarChannels'; import SidebarDeviceSettings from './Sidebar/SidebarDeviceSettings'; import SidebarNodes from './Sidebar/SidebarNodes'; import SidebarUISettings from './Sidebar/SidebarUISettings'; interface SidebarProps { IsReady: boolean; Nodes: Types.NodeInfoPacket[]; Channels: Protobuf.Channel[]; Preferences: Protobuf.RadioConfig_UserPreferences; Connection: IHTTPConnection; MobileNavOpen: boolean; Language: LanguageEnum; SetLanguage: React.Dispatch>; Translations: languageTemplate; myId: number; } const Sidebar = (props: SidebarProps) => { const updatePreferences = () => {}; return (
); }; export default Sidebar;