UNPKG

@dynamic-labs/sdk-react-core

Version:

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

11 lines (10 loc) 398 B
/// <reference types="react" /> export declare const useSmsVerification: (type: 'login' | 'verify-only') => { error: Error | undefined; formattedPhone: string; isLoading: boolean; isValid: boolean; onSubmit: (variables: string) => void; retryOneTimePassword: () => Promise<void>; setError: import("react").Dispatch<import("react").SetStateAction<Error | undefined>>; };