MCPcopy Index your code
hub / github.com/TanStack/query / setComputedVariables

Function setComputedVariables

packages/query-devtools/src/Devtools.tsx:738–742  ·  view source on GitHub ↗
(el: HTMLDivElement)

Source from the content-addressed store, hash-verified

736 // Sets the Font Size variable on portal menu elements since they will be outside
737 // the main panel container
738 const setComputedVariables = (el: HTMLDivElement) => {
739 const computedStyle = getComputedStyle(containerRef)
740 const variable = computedStyle.getPropertyValue('--tsqd-font-size')
741 el.style.setProperty('--tsqd-font-size', variable)
742 }
743 return (
744 <>
745 <div

Callers 1

ContentViewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…