UNPKG

@dynamic-labs/sdk-react-core

Version:

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

9 lines (8 loc) 298 B
import { UserProfile } from '@dynamic-labs/types'; type RefreshUserCallback = () => Promise<UserProfile | undefined>; /** * Refresh user state * @returns A callback function that can be used to refresh the user state */ export declare const useRefreshUser: () => RefreshUserCallback; export {};