@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 03:37 UTC

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