MCPcopy Create free account
hub / github.com/TanStack/devtools / createHeight

Function createHeight

packages/devtools/src/context/use-devtools-context.ts:121–131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

119 }
120 return {
121 isCollapsed,
122 toggleCollapsed: () => setCollapsed((previous) => !previous),
123 setCollapsed,
124 }
125}
126
127/**
128 * Handing a drag from the Plugins strip over to the workspace.
129 *
130 * The strip and the workspace are siblings, and only the workspace knows where
131 * the panes are, so the workspace registers a handler here and the strip calls it
132 * the moment a press becomes a drag.
133 *
134 * A **direct call**, not a signal: an effect reacting to a signal runs a

Callers 2

DevToolsFunction · 0.90
MainPanelFunction · 0.90

Calls 1

createDevtoolsStateFunction · 0.85

Tested by

no test coverage detected