ConnectUIProps
connect: (...args: ConnectArgs<I>) => Promise<I>; connected: () => void; connectedWallet?: I; connectedWalletAddress?: string; createWalletInstance: () => I; goBack: () => void; hide: () => void; isOpen: boolean; modalSize: "compact" | "wide"; selectionData: any; setConnectedWallet: (walletInstance: I) => void; setSelectionData: (data: any) => void; show: () => void; theme: "dark" | "light";};
Connected wallet instance
This is set by connect
if connection succeeds or it can be set manually by using setConnectedWallet
type connectedWallet = I;
Address of the connected wallet instance
type connectedWalletAddress = string;
Connection status of the wallet
indicates whether the connect wallet modal is open or not
type isOpen = boolean;
Size of the modal
This is always compact
on React Native
type modalSize = "compact" | "wide";
selectionData passed from selectUI
's onSelect
function
type selectionData = any;
Array of supported wallets including this wallet.
theme of the connect wallet modal
type theme = "dark" | "light";
WalletConfig
object of the wallet