bigblocks
Version:
Complete Bitcoin UI component library - authentication, social, wallet, market, inscriptions, and blockchain interactions for React
34 lines • 1.2 kB
TypeScript
import { QueryClient } from "@tanstack/react-query";
import type React from "react";
export interface BigBlocksQueryProviderProps {
children: React.ReactNode;
queryClient?: QueryClient;
}
/**
* BigBlocksQueryProvider - Provides React Query context for bigblocks components
*
* Simple wrapper that provides QueryClient for market, wallet, and social components.
* Works around bun's nested resolution limitations.
*
* Usage:
* ```tsx
* import { BigBlocksQueryProvider } from 'bigblocks';
*
* function App() {
* return (
* <BigBlocksQueryProvider>
* <BigBlocksThemeProvider>
* <BigBlocksAuthProvider>
* <MarketTable listings={...} />
* <PostButton onSuccess={...} />
* </BigBlocksAuthProvider>
* </BigBlocksThemeProvider>
* </BigBlocksQueryProvider>
* );
* }
* ```
*/
export declare function BigBlocksQueryProvider({ children, queryClient, }: BigBlocksQueryProviderProps): import("react/jsx-runtime").JSX.Element;
export declare const BitcoinQueryProvider: typeof BigBlocksQueryProvider;
export type { BigBlocksQueryProviderProps as BitcoinQueryProviderProps };
//# sourceMappingURL=BitcoinQueryProvider.d.ts.map