A value that is passed to onAction handler.
OptionalexpandA delay in milliseconds after which a submenu is expanded.
OptionalhasOptionalidAn ID that uniquely identifies a menu item. If omitted a fallback ID is dynamically created.
OptionalisIf true then menu item is disabled.
OptionalonA handler that is called when user presses a menu item.
OptionalvalueA value that is passed to onAction handler.
Props of the useMenuItem hook.