UNPKG

@bigmi/react

Version:

React primitives for Bitcoin apps.

11 lines (10 loc) 596 B
import type { State } from '@bigmi/client'; import { type PropsWithChildren } from 'react'; import type { ResolvedRegister } from './types.js'; export declare const BigmiContext: import("react").Context<import("@bigmi/client").Config | undefined>; export type BigmiProviderProps = { config: ResolvedRegister['config']; initialState?: State | undefined; reconnectOnMount?: boolean | undefined; }; export declare function BigmiProvider(parameters: PropsWithChildren<BigmiProviderProps>): import("react").FunctionComponentElement<PropsWithChildren<import("./hydrate.js").HydrateProps>>;