MCPcopy Index your code
hub / github.com/TanStack/devtools / setHeight

Function setHeight

packages/devtools/src/context/use-devtools-context.ts:126–128  ·  view source on GitHub ↗
(newHeight: number)

Source from the content-addressed store, hash-verified

124 const height = createMemo(() => state().height)
125
126 const setHeight = (newHeight: number) => {
127 setState({ height: newHeight })
128 }
129
130 return { height, setHeight }
131}

Callers 1

runFunction · 0.85

Calls 1

setStateFunction · 0.85

Tested by

no test coverage detected