useMenuIsOpen

See source code
function useMenuIsOpen(
  id: string,
  cb?: (isOpen: boolean) => void
): readonly [boolean, (isOpen: boolean) => void]

Parameters

NameDescription

id

string

cb

(isOpen: boolean) => void

Returns

readonly [boolean, (isOpen: boolean) => void]
Prev
useMenuClipboardEvents
Next
useNativeClipboardEvents