import {createContext} from "react"; /** The shell owns rail width and panel presentation as one state. */ export const NavigationPanelState = createContext<{ collapsed: boolean; onCollapsedChange: (collapsed: boolean) => void; } | null>(null);