UNPKG

react-playmakers

Version:

React wrapper providing utilities for PlayMakers integration

10 lines (9 loc) 280 B
import { User } from "../types"; type FetchUserMethod = (quiet?: boolean) => Promise<User>; interface UseUserReturn { refresh: FetchUserMethod; fetched: boolean; user: User | null; } export declare const useUser: (userId: string) => UseUserReturn; export {};