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: WalletConfig[];
  theme: "dark" | "light";
  walletConfig: WalletConfig<I>;
};