Import
Usage
Return Type: UseOpenWalletModalReturnType
The hook returns an object with the following properties:
Properties
setOpenWalletModal
(isOpen: boolean) => void
Function to open or close the Wallet modal.
Parameters:
| Parameter | Type | Description |
|---|---|---|
isOpen | boolean | Whether the modal should be open (true) or closed (false) |
openWalletModalState
boolean
The current open state of the Wallet modal (true if open, false if closed).