UNPKG

@turnkey/react-wallet-kit

Version:

The easiest and most powerful way to integrate Turnkey's Embedded Wallets into your React applications.

23 lines 960 B
import { type ReactNode } from "react"; import { type WalletConnectAppEntry } from "@turnkey/core"; interface WalletConnectState { /** List of WalletConnect-compatible wallet apps (for mobile deep linking) */ walletConnectApps: WalletConnectAppEntry[]; /** Whether we're currently fetching wallet apps */ isLoadingApps: boolean; } export type WalletConnectContextType = WalletConnectState; interface WalletConnectProviderProps { children: ReactNode; } /** * @internal * WalletConnectProvider provides context for WalletConnect wallet apps. * * Automatically fetches wallet apps on mount using the projectId from config. * This is an internal provider and not exported */ export declare function WalletConnectProvider({ children, }: WalletConnectProviderProps): import("react/jsx-runtime").JSX.Element; export declare function useWalletConnect(): WalletConnectContextType; export {}; //# sourceMappingURL=WalletConnectProvider.d.ts.map