10 lines · 451 B · TypeScript
RawDownload
import { createContext, use } from "react";import type { SharedValue } from "react-native-reanimated"; // Floating controls follow the visible pane while the expensive navigator/feed// stays laid out at its settled width during sidebar and inspector transitions.export const WorkspaceContentWidthContext = createContext<SharedValue<number> | null>(null); export function useWorkspaceContentWidth() {  return use(WorkspaceContentWidthContext);}

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t