HeaderLogo

A wrapper for the logo in the app header which automatically links to the home page and fires the logo_clicked analytics event

Usage:

import MyLogo from '/path/to/logo.svg'

<HeaderLogo> <MyLogo/> </HeaderLogo>
Import
import HeaderLogo from 'react-storefront/HeaderLogo'

Props

NameTypeDefaultDescription
altstring'brand logo'

The alt text to use for accessibility. Defaults to "brand logo"

CSS API

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

  • logoWrap
  • altText