1import { createContext, use } from "react";
2
3/** Which workspace column a screen renders in. Sheets and full-screen overlays are in none. */
4export type PaneRole = "sidebar" | "content" | "inspector";
5
6export const PaneContext = createContext<PaneRole | null>(null);
7
8export function usePaneRole() {
9 return use(PaneContext);
10}