UNPKG

@availity/hooks

Version:

A group of pre-built hooks that are common in most apps

22 lines (18 loc) 491 B
import { UseQueryOptions, UseQueryResult } from 'react-query'; export type CurrentUser = { akaname: string; createDate: string; currentRegion: string; email: string; firstName: string; lastName: string; id: string; jobTitle: string; userHasSecurityException: boolean; userId: string; userValidated: boolean; }; declare function useCurrentUser( options?: UseQueryOptions<CurrentUser, unknown> ): UseQueryResult<CurrentUser, unknown>; export default useCurrentUser;