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]
useMenuClipboardEventsuseNativeClipboardEvents