Type Alias WalletConnectionProps

WalletConnectionProps: {
    connected?: (() => JSX.Element);
    connecting?: (() => JSX.Element);
    disconnected?: (() => JSX.Element);
    theme?: Theme;
}

Props for the WalletConnection component.

Type declaration

  • Optionalconnected?: (() => JSX.Element)

    A custom component to render when the wallet is connected. If left undefined, it uses Thirdweb's ConnectButton.

      • (): JSX.Element
      • Returns JSX.Element

  • Optionalconnecting?: (() => JSX.Element)

    A custom component to render when the wallet is connecting.

      • (): JSX.Element
      • Returns JSX.Element

  • Optionaldisconnected?: (() => JSX.Element)

    A custom component to render when the wallet is disconnected.

      • (): JSX.Element
      • Returns JSX.Element

  • Optionaltheme?: Theme

    The theme to use for the Thirdweb ConnectButton.