@nhost/react
Version:
Nhost React library
12 lines • 325 B
TypeScript
/**
* Use `useAuthenticated` to get the authentication status of the user.
*
* @example
* ```ts
* const isAuthenticated = useAuthenticated();
* ```
*
* @docs https://docs.nhost.io/reference/react/use-access-token
*/
export declare const useAuthenticated: () => boolean;
//# sourceMappingURL=useAuthenticated.d.ts.map