A value that is passed to onAction handler.
Optional
expandA delay in milliseconds after which a submenu is expanded.
Optional
hasOptional
idAn ID that uniquely identifies a menu item. If omitted a fallback ID is dynamically created.
Optional
isIf true
then menu item is disabled.
Optional
onA handler that is called when user presses a menu item.
Optional
valueA value that is passed to onAction handler.
Props of the useMenuItem hook.