3.9.0 • Published 3 years ago

@guardian/src-ed-logo v3.9.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

QuoteIcon

The Guardian logo appears in the header on most editorial pages

Install

$ yarn add @guardian/src-ed-logo

or

$ npm i @guardian/src-ed-logo

Use

import { Logo } from '@guardian/src-ed-logo';

const Header = () => {
    return (
        <header css={headerStyles}>
            <p>Some other header things</p>
            <Logo />
        </header>
    );
};

Logo Props

logoType

"standard" | "anniversary" | "bestWebsite"

The type of logo to return