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