SelectUIProps
connect: (...args: ConnectArgs<I>) => Promise<I>; connectedWallet?: I; connectedWalletAddress?: string; createWalletInstance: () => I; modalSize: "compact" | "wide"; onSelect: (selectionData: any) => void; setConnectedWallet: (walletInstance: I) => 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
Size of the modal
This is always compact
on React Native
type modalSize = "compact" | "wide";
List of all supported wallets including your wallet.
You can use this to conditionally render UI based on how many wallets are supported. For example: You can render a larger UI if only one wallet (your wallet) is supported.
theme of the connect wallet modal
type theme = "dark" | "light";
WalletConfig
object of your wallet