Properties support when creating a new menu item via useRovingMenuItem.
Optionaldisabled?: booleanSet this to true if your item is disabled.
This tells the menu that the item cannot be focused.
Optionalrequired?: booleanBy default, a menu item parent is required.
Set this to false to make the parent optional.
The hook will become inactive and will return undefined if no parent is present.
This is useful for components that may or may not be used within a menu.
Default: true
A unique value for the current item (in the context of this menu).
Optionalrequired?: trueDeclares a new menu item using the given props.
Properties support when creating a new menu item via useRovingMenuItem.
Optionaldisabled?: booleanSet this to true if your item is disabled.
This tells the menu that the item cannot be focused.
Optionalrequired?: booleanBy default, a menu item parent is required.
Set this to false to make the parent optional.
The hook will become inactive and will return undefined if no parent is present.
This is useful for components that may or may not be used within a menu.
Default: true
A unique value for the current item (in the context of this menu).
Declares a new menu item using the given
props.