UNPKG

@dynamic-labs/sdk-react-core

Version:

A React SDK for implementing wallet web3 authentication and authorization to your website.

11 lines (10 loc) 482 B
import { IEmailWalletConnector, InternalWalletConnector } from '@dynamic-labs/wallet-connector-core'; type ConnectWithEmailProps = { emailWalletConnector: IEmailWalletConnector | undefined; handleConnect: (walletConnector: InternalWalletConnector) => Promise<void>; }; export declare const useConnectWithEmail: ({ emailWalletConnector, handleConnect, }: ConnectWithEmailProps) => { connectWithEmail: (email: string) => Promise<void>; loading: boolean; }; export {};