"use client" import { cn } from "@/lib/utils" import { useIsXs } from "@/hooks/use-xs" import { Icon, addCollection } from "@iconify/react" import { icons as mdiIcons } from "@iconify-json/mdi" import { SidebarCreateDialogs } from "@/components/gmail/sidebar/sidebar-create-dialogs" import { SidebarHeader } from "@/components/gmail/sidebar/sidebar-header" import { SidebarNavPanel } from "@/components/gmail/sidebar/sidebar-nav-panel" import { useSidebarState, type SidebarProps, } from "@/components/gmail/sidebar/use-sidebar-state" addCollection(mdiIcons) export function Sidebar(props: SidebarProps) { const { splitView = false, folderUnreadCounts = {}, selectedFolder, onSelectFolder } = props const isXs = useIsXs() const state = useSidebarState(props) return ( ) } export type { SidebarProps }