UNPKG

@kryptogo/kryptogokit-sdk-react

Version:

KryptogoKit offers a comprehensive web3 wallet solution with seamless KryptoGO Auth integration and multi-wallet connection support. Designed for users. Built for developers.

17 lines (16 loc) 611 B
import React, { ReactNode } from 'react'; import { LOGIN_TYPE } from '@kryptogo/auth/src/types'; interface KgAuthContextValue { clientId: string; initialize: (loginMethods: LOGIN_TYPE, value?: string) => void; login: () => void; getAccessToken: () => Promise<string | undefined>; } interface KgAuthProviderProps { children: ReactNode; clientId: string; dev?: boolean; } export declare const KgAuthContext: React.Context<KgAuthContextValue>; export declare function KgAuthProvider({ children, clientId, dev }: KgAuthProviderProps): import("react/jsx-runtime").JSX.Element; export {};