ToggleDropdown

Function: toggleDropdown()

[object Object]

Defined in: app/components/Menu/NavBar/ProfileDropdown/ProfileDropdown.handlers.tsx:14

Toggles the visibility state of the dropdown menu.

💡If the dropdown is in compact mode, the toggle action is ignored

(usually because compact modes are handled via hover or external triggers).

toggleDropdown

Parameters

compact

[object Object]

Whether the dropdown is in a compact layout mode.

setIsOpen

Dispatch<SetStateAction<boolean>>

State setter to toggle visibility.

Returns

[object Object]

On this page