UNPKG

@nhost/react

Version:

Nhost React library

12 lines 285 B
/** * Use the hook `useUserId` to get the id of the user. * * @example * ```tsx * const userId = useUserId(); * ``` * * @docs https://docs.nhost.io/reference/react/use-user-id */ export declare const useUserId: () => string | undefined; //# sourceMappingURL=useUserId.d.ts.map