interface WalletModalProps {
isOpen: boolean; // Controls modal visibility
wallets: StatefulWallet[]; // List of available wallets
currentWallet?: StatefulWallet; // Currently selected wallet
open: () => void; // Function to open modal
close: () => void; // Function to close modal
}
const {
wallets, // List of available wallets
connect, // Function to connect wallet
disconnect, // Function to disconnect wallet
isConnecting, // Connection status
error, // Connection error
selectedWallet, // Currently selected wallet
} = useWalletModal();