OptionalonOpenChange?: (value: string | null) => voidCalled with the open submenu's value (or null) after every change.
OptionalonSelect?: (value: string, item: HTMLElement) => voidCalled with the item's value when a leaf menu item is activated.
Optionalorientation?: "horizontal" | "vertical"Layout of the top-level menu. Defaults to horizontal (menubar).
Options for enhanceMenu.