useWalletModal
required provider: WalletModalProvider
parameters
theme: 'dark' | 'light'
Properties
Name | Description | Type | Default |
---|---|---|---|
visible | Visibility state of the wallet modal | boolean | false |
Methods
Name | Description | Type |
---|---|---|
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