Function: Menu()
Menu(
rawProps):Element
Defined in: components/Menu.tsx:181
Renders a multi-level category navigation menu from the fetched category
tree: a dropdown flyout or jumbotron mega-menu on desktop, an accordion on
mobile — or an accordion on every breakpoint when menuStyle="accordion",
which is the option to pick for trees deeper than a flyout can lay out.
Parameters
rawProps
Returns
Element
Remarks
Uses useMenu to fetch the category hierarchy.