import { useState, type ReactNode } from 'react'; import { WorkspaceBarTargetProvider } from '../workspaces/barSlot'; type AppBottomBarProps = { /** App tree that may render `` to portal content into the bar. */ children: ReactNode; }; /** * Shell-owned status bar pinned to the bottom of the window. Renders an empty * strip by default; workspaces (or other shell features) contribute controls by * mounting `` inside this provider's subtree. */ export function AppBottomBar({ children }: AppBottomBarProps) { const [target, setTarget] = useState(null); return ( {children}
); }