0.2.0 • Published 5 years ago
@fourforbusiness/corporate-brand-logo v0.2.0
four for business - Corporate Brand Logo
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.
Logo
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
The logo, icon and corporate brand name itself is protected by copyright laws.