npm.io
0.2.0 • Published 6 years ago

@fourforbusiness/corporate-brand-logo

Licence
MIT
Version
0.2.0
Deps
5
Size
51 kB
Vulns
0
Weekly
0

This packages provides the four for business corporate brand logo.

Installation

npm

npm i @fourforbusiness/corporate-brand-logo

yarn

yarn add @fourforbusiness/corporate-brand-logo

Usage

The component consumes two props and inherits text color:

  • icon (boolean) - changes from logo to icon
  • width (number)

The default width is 275px.

import Logo from '@fourforbusiness/corporate-brand-logo'

<Logo />

<Logo width={320} />
Icon
import Logo from '@fourforbusiness/corporate-brand-logo'

<Logo icon />
Theme UI

Addionally the logo could be used with Theme UI. If your theme has defined breakpoints it is possible to provide an array for width.

import Logo from '@fourforbusiness/corporate-brand-logo'

<Logo width={[64,128,256]} />

License

MIT

The logo, icon and corporate brand name itself is protected by copyright laws.