useWalletModal

  • required provider: WalletModalProvider

  • parameters

    • theme: 'dark' | 'light'

Properties

NameDescriptionTypeDefault

visible

Visibility state of the wallet modal

boolean

false

Methods

NameDescriptionType

setVisible

Set the visibility state of the wallet modal

(open: boolean) => void

openWalletModal

Open the wallet modal

() => void

switchTheme

Switch to dark or light theme

(theme: 'dark' | 'light') => void

Last updated