Benchmark-Hub / node_modules /@tanstack /react-query /build /legacy /QueryClientProvider.d.ts
yxslpts's picture
Upload 14458 files
b8806f7 verified
Raw
History Blame Contribute Delete
534 Bytes
import * as React from 'react';
import { QueryClient } from '@tanstack/query-core';
declare const QueryClientContext: React.Context<QueryClient | undefined>;
declare const useQueryClient: (queryClient?: QueryClient) => QueryClient;
type QueryClientProviderProps = {
client: QueryClient;
children?: React.ReactNode;
};
declare const QueryClientProvider: ({ client, children, }: QueryClientProviderProps) => React.JSX.Element;
export { QueryClientContext, QueryClientProvider, type QueryClientProviderProps, useQueryClient };