Open History to see the last commit
1import { createContext, type ReactNode } from "react";
2
3// The router is shared with the other platforms; only iOS uses native columns.
4export const NativeWorkspaceModeContext = createContext(false);
5export const NativePrimaryColumnContext = createContext<{
6 readonly selectedThreadKey: string | null;
7} | null>(null);
8export const NativeWorkspaceInspectorContext = createContext<{
9 readonly render: (() => ReactNode) | undefined;
10 readonly visible: boolean;
11}>({ render: undefined, visible: false });