UNPKG

@ouim/simple-logto

Version:

A simpler way to use @logto/react with prebuilt UI components and hooks for fast authentication setup

4 lines (3 loc) 296 B
import type { AuthContextType, AuthProviderProps } from './types'; export declare const AuthProvider: ({ children, config, callbackUrl, customNavigate, enablePopupSignIn }: AuthProviderProps) => import("react/jsx-runtime").JSX.Element; export declare const useAuthContext: () => AuthContextType;