A value passed to the onAction handler.
OptionalexpandA delay, in milliseconds, after which a submenu is expanded.
OptionalhasIf true, the menu item controls a submenu and can be expanded
or collapsed using ArrowRight or ArrowLeft.
An expanded menu item with a submenu is considered active. onAction is ignored for menu items with a submenu.
OptionalidAn ID that uniquely identifies a menu item. If omitted, a fallback ID is generated.
OptionalisIf true, the menu item is disabled.
OptionalonA callback invoked when the user activates the menu item.
OptionalvalueA value passed to the onAction handler.
Props for the useMenuItem hook.