MCPcopy
hub / github.com/codeaashu/claude-code / useIsInsideModal

Function useIsInsideModal

src/context/modalContext.tsx:28–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

26};
27export const ModalContext = createContext<ModalCtx | null>(null);
28export function useIsInsideModal() {
29 return useContext(ModalContext) !== null;
30}
31
32/**
33 * Available content rows/columns when inside a Modal, else falls back to

Callers 7

TabFunction · 0.85
PaneFunction · 0.85
HelpV2Function · 0.85
StatusFunction · 0.85
SettingsFunction · 0.85
ConfigFunction · 0.85
ResumeCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected