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.

35 lines (34 loc) 1.16 kB
import { type ReactNode } from 'react'; import type { Chain } from 'wagmi/chains'; import type { ThemeVars } from '../../css/sprinkles.css'; import type { Locale } from '../../locales'; import { type AvatarComponent } from './AvatarContext'; export declare const useThemeRootProps: () => { "data-rk": string; }; export type Theme = ThemeVars | { lightMode: ThemeVars; darkMode: ThemeVars; }; export interface KryptogoKitProviderProps { initialChain?: Chain | number; id?: string; children: ReactNode; clientId: string; theme?: Theme | null; showRecentTransactions?: boolean; appInfo?: { appName?: string; learnMoreUrl?: string; }; dev?: boolean; avatar?: AvatarComponent; locale?: Locale; mode?: 'dapp' | 'payment'; authDisplayOptions?: { walletConnect?: boolean; oauth?: boolean; socialLogin?: boolean; }; } export declare function KryptogoKitProvider({ appInfo, avatar, children, clientId, id, initialChain, locale, mode, showRecentTransactions, theme, authDisplayOptions, dev, }: KryptogoKitProviderProps): import("react/jsx-runtime").JSX.Element;