ConnectButton must render inside WalletProviders (or DZapWidgetProvider, which mounts it).
Default
The default export opens the wallet modal. Use it as a “connect another wallet” control, or replace it with the custom render-prop.Custom
ConnectButton.Custom gives you account state and modal openers. Style the trigger however you want; the package still owns the connect and account dialogs.
From
@dzapio/widget, the equivalent styled control is ConnectWalletButton.