import HeaderLogo from 'react-storefront/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'
Name | Type | Default | Description |
---|---|---|---|
alt | string | 'brand logo' | The alt text to use for accessibility. Defaults to "brand logo" |
linkProps | object | {} | Props for link component. See <Link /> component for details |
You can override all the class names injected by Moov-PWA thanks to the classes
property. This property accepts the following keys:
logoWrap
altText