Docs

SelectUIProps

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