import { Panel, PanelGroup } from 'react-resizable-panels' import { VerticalResizeHandle } from '@/features/ide-react/components/resize/vertical-resize-handle' import { FileTree } from '@/features/ide-react/components/file-tree' import classNames from 'classnames' import { useLayoutContext } from '@/shared/context/layout-context' import { OutlineContainer } from '@/features/outline/components/outline-container' import { useOutlinePane } from '@/features/ide-react/hooks/use-outline-pane' import React, { ElementType } from 'react' import importOverleafModules from '../../../../macros/import-overleaf-module.macro' const editorSidebarComponents = importOverleafModules( 'editorSidebarComponents' ) as { import: { default: ElementType }; path: string }[] export default function EditorSidebar() { const { view } = useLayoutContext() const { outlineEnabled, outlinePanelRef } = useOutlinePane() return ( ) }