snapshot of https://github.com/TanStack/query.git (main, 2026-09-16; blobs > 131072B omitted)
This commit is contained in:
15
packages/svelte-query/tests/QueryClientProvider/Base.svelte
Normal file
15
packages/svelte-query/tests/QueryClientProvider/Base.svelte
Normal file
@@ -0,0 +1,15 @@
|
||||
<script lang="ts">
|
||||
import { QueryClientProvider } from '../../src/index.js'
|
||||
import Child from './Child.svelte'
|
||||
import type { QueryClient } from '@tanstack/query-core'
|
||||
|
||||
type Props = {
|
||||
queryClient: QueryClient
|
||||
}
|
||||
|
||||
let { queryClient }: Props = $props()
|
||||
</script>
|
||||
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<Child />
|
||||
</QueryClientProvider>
|
||||
Reference in New Issue
Block a user