Logo

A component that renders a logo in the header.

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

Parameters

NameTypeDescription
props
props
React component props

Props for the Logo component.

Properties

NameTypeDefaultDescription
classes
Object
An object containing the class names for the Logo component.
classes.logo
string
Classes for logo
[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