PromoBanner

Import
import PromoBanner from 'react-storefront/PromoBanner'

Props

NameTypeDefaultDescription
classNamestring

A css class to apply

classesobject

CSS classes

namestring'promo'

An name to idenify the banner with analytics

hrefstring

The location to navigate to when clicked

altstring'promo'

An alt value for the img tag

imgPropsobject{}

Additional props for the img tag

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
  • img