Trails Packages
    Preparing search index...

    Interface RovingMenuItemResult

    The return value of useRovingMenuItem.

    interface RovingMenuItemResult {
        itemProps: RovingMenuItemDomProps;
    }
    Index

    Properties

    Properties

    itemProps: RovingMenuItemDomProps

    DOM-Properties that must be applied to the menu item's dom element.

    Most importantly, this will apply the item's tab index and data attributes that allow the menu to find the item in the DOM.

    Note that other properties may be added in a future release.