Hook for disconnecting the currently connected wallet.
import { useDisconnect } from "@thirdweb-dev/react"; function App() { const disconnect = useDisconnect(); return <button onClick={disconnect}>Disconnect</button>;}
function useDisconnect(): () => Promise<void>;
let returnType: () => Promise<void>;
A function to disconnect from current connected wallet