MCPcopy Create free account
hub / github.com/TanStack/query / useTheme

Function useTheme

packages/query-devtools/src/contexts/ThemeContext.ts:12–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10 * @returns A getter for the current theme, `'light'` or `'dark'`. Defaults to `'dark'`.
11 */
12export function useTheme() {
13 return useContext(ThemeContext)
14}

Callers 15

CopyButtonFunction · 0.90
ClearArrayButtonFunction · 0.90
DeleteItemButtonFunction · 0.90
ToggleValueButtonFunction · 0.90
SearchableExplorerFunction · 0.90
ExplorerFunction · 0.90
PiPPanelFunction · 0.90
ParentPanelFunction · 0.90
DraggablePanelFunction · 0.90
ContentViewFunction · 0.90
QueryRowFunction · 0.90
MutationRowFunction · 0.90

Calls

no outgoing calls

Tested by 1

ThemeProbeFunction · 0.72