React Storefront
|

AmpMenu

An AMP-compatible menu based on amp-sidebar.

In addition to the CSS classes that can be overridden of menu subcomponents, you can also assign specific classes to individual menu items by specifying a value for the className field on any instance of MenuItemModel.

Import
import AmpMenu from 'react-storefront/amp/AmpMenu'

Props

NameTypeDefaultDescription
id'moov_menu'

CSS API

You can override all the class names injected by Moov-PWA thanks to the classes property. This property accepts the following keys:

  • root