tri-test-tanto-widget
Version:
Tanto Widget
16 lines (15 loc) • 651 B
TypeScript
import { CSSProperties, ReactNode } from 'react';
import { AccountConnectionCallback } from './types/connect';
export type TantoConnectButtonProps = AccountConnectionCallback & {
className?: string;
style?: CSSProperties;
children?: (renderProps: {
isConnected: boolean;
address?: string;
chainId?: number | undefined;
modalOpen: boolean;
showModal: () => void;
hideModal: () => void;
}) => ReactNode;
};
export declare function TantoConnectButton({ onConnect, onDisconnect, children, ...rest }: TantoConnectButtonProps): import("@emotion/react/jsx-runtime").JSX.Element;