@broxus/tvm-connect
Version:
TypeScript SDK for connecting to Nekoton-compatible wallets using a unified interface.
26 lines (25 loc) • 931 B
TypeScript
import { type TvmNetworkConfig } from '@broxus/js-core';
import { type ButtonProps } from '@broxus/react-uikit';
import * as React from 'react';
import { type PopupType } from '../types';
export interface TvmConnectorProps {
changeAccountButtonText?: React.ReactNode;
changeWalletButtonText?: React.ReactNode;
className?: string;
connectButtonShape?: ButtonProps['shape'];
connectButtonText?: React.ReactNode;
connectButtonTrigger?: (props: {
connect: VoidFunction;
disabled?: boolean;
}) => React.ReactNode;
connectButtonType?: ButtonProps['type'];
disconnectButtonText?: React.ReactNode;
network?: TvmNetworkConfig;
popupType?: PopupType;
showDropMenu?: boolean;
showSubIcon?: boolean;
standalone?: boolean;
suffix?: React.ReactNode;
warnUnsupportedNetwork?: boolean;
}
export declare const TvmConnector: React.FunctionComponent<TvmConnectorProps>;