@cloudflare/component-logo

7.0.6 • Public • Published

@cloudflare/component-logo

Cloudflare Logo Component

Installation

Installation with yarn is recommended

$ yarn add @cloudflare/component-logo

Usage

import React from 'react';
import { Logo, LogoInline, LogoCloud, LogoHeader } from '../../src';
import { Box } from '@cloudflare/component-box';

const ViewComponent = () => (
  <div>
    <h2>Logo</h2>
    <Logo />
    <Box backgroundColor="gray.2">
      <Logo light />
    </Box>
    <h2>LogoInline</h2>
    <LogoInline />
    <Box backgroundColor="gray.2">
      <LogoInline light />
    </Box>
    <h2>LogoCloud</h2>
    <LogoCloud />
    <Box backgroundColor="gray.2">
      <LogoCloud />
    </Box>
    <h2>LogoHeader (responsive)</h2>
    <Box border="1px solid #ccc">
      <LogoHeader />
    </Box>
  </div>
);

export default ViewComponent;

Readme

Keywords

none

Package Sidebar

Install

npm i @cloudflare/component-logo

Weekly Downloads

5,906

Version

7.0.6

License

BSD-3-Clause

Unpacked Size

346 kB

Total Files

29

Last publish

Collaborators

  • lerwincf
  • lbarthonet
  • cf-media-manager
  • jacobbednarz
  • celso
  • cf-radar
  • dash_service_account
  • g4brym
  • snigdha34
  • wrangler-publisher
  • marksteyn
  • chiminator
  • sgoodhew_cf
  • terinjokes
  • third774
  • jsteinberger
  • jasnell
  • asapzacy
  • pcostanzo
  • gregbrimble
  • geelen
  • rexscaria
  • dcruz_cf
  • xuranwang
  • jculvey
  • sejoker
  • vasturiano
  • cf-ci-write
  • segments-write
  • thibmeu
  • xortive
  • gurjinder
  • cf-ci2
  • lvalenta
  • worenga