Docs

ConnectUIProps

type ConnectUIProps<I extends WalletInstance = WalletInstance> = {
connect: (...args: ConnectArgs<I>) => Promise<I>;
connected: () => void;
connectedWallet?: I;
connectedWalletAddress?: string;
connectionStatus: ConnectionStatus;
createWalletInstance: () => I;
goBack: () => void;
hide: () => void;
isOpen: boolean;
modalSize: "compact" | "wide";
selectionData: any;
setConnectedWallet: (walletInstance: I) => void;
setConnectionStatus: (status: ConnectionStatus) => void;
setSelectionData: (data: any) => void;
show: () => void;
supportedWallets: Array<WalletConfig>;
theme: "dark" | "light";
walletConfig: WalletConfig<I>;
};