snapshot of https://github.com/TanStack/query.git (main, 2026-09-16; blobs > 131072B omitted)
This commit is contained in:
18
packages/solid-query-devtools/src/index.tsx
Normal file
18
packages/solid-query-devtools/src/index.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
import { isDev } from 'solid-js/web'
|
||||
import clientOnly from './clientOnly'
|
||||
import type SolidQueryDevtoolsComp from './devtools'
|
||||
import type SolidQueryDevtoolsCompPanel from './devtoolsPanel'
|
||||
|
||||
export const SolidQueryDevtools: typeof SolidQueryDevtoolsComp = isDev
|
||||
? clientOnly(() => import('./devtools'))
|
||||
: function () {
|
||||
return null
|
||||
}
|
||||
|
||||
export const SolidQueryDevtoolsPanel: typeof SolidQueryDevtoolsCompPanel = isDev
|
||||
? clientOnly(() => import('./devtoolsPanel'))
|
||||
: function () {
|
||||
return null
|
||||
}
|
||||
|
||||
export type { DevtoolsPanelOptions } from './devtoolsPanel'
|
||||
Reference in New Issue
Block a user