UNPKG

@sky-mavis/tanto-widget

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