A component that renders a logo in the header.

Returns: React.Element — A React component that displays a logo.

Parameters

Name
Type
Description
props
props
React component props

Props for the Logo component.

Properties

Name
Type
Default
Description
classes
Object
An object containing the class names for the Logo component.
classes.logo
string
CSS class name(s) applied to the logo element.
[height]
number
18
Height of the logo.
[width]
number
102
Width of the logo.

Source Code: pwa-studio/packages/venia-ui/lib/components/Logo/logo.js