UNPKG

@sky-mavis/tanto-widget

Version:
10 lines (9 loc) 547 B
import { type ReactNode } from 'react'; import { AccountConnectionCallback } from '../../types/connect'; import { ThemeProviderProps } from '../theme/ThemeProvider'; import { TantoConfig } from './TantoContext'; export type TantoProviderProps = AccountConnectionCallback & { children?: ReactNode; config?: TantoConfig; } & ThemeProviderProps; export declare function TantoProvider({ config: customConfig, theme, customThemeToken, onConnect, onDisconnect, children, }: TantoProviderProps): import("@emotion/react/jsx-runtime").JSX.Element;