Canton dAppBooster
    Preparing search index...
    • Disconnect button. Can be customized.

      Parameters

      • __namedParameters: DetailedHTMLProps

      Returns ReactElement

      import { DisconnectButton } from '@bootnodedev/canton-dappbooster/connect'

      <DisconnectButton />
      <DisconnectButton onClick={(event) => { event.preventDefault(); toggleMenu() }}>
      {label}
      </DisconnectButton>

      anatomy.ts for the part classes and state attributes the theme selects.