2.0.0-rc.4 • Published 10 months ago

@asphalt-react/logo v2.0.0-rc.4

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
10 months ago

Logo

npm

A Logo represents your business and company's first introduction to consumers. It consists of the product's symbol and name. By default, Logo displays both but you can show either of them to fit your needs. Logo supports a list of product symbols to choose from or you can use a different one as well.

Usage

Usually Logo appears inside the Appbar and Sidebar components but you can also use it at other places.

import { Logo } from "@asphalt-react/logo"

 <Logo />

Supported product symbols

  • Gojek
  • GoRide
  • GoCar
  • GoSend
  • GoFresh
  • GoFood
  • GoTix
  • GoPay
  • GoPoints
  • GoBiz
  • GoPlay
  • GoPromo
  • AsphaltReact
  • AsphaltWeb
  • Bullpup
  • Coffer
  • Radar

Props

children

The custom logo to display which is not present in the product symbols list. It overrides product and symbol props.

typerequireddefault
nodefalseN/A

size

Size of Logo. Accepts "xs", "s", "m" and "l". It doesn't apply to custom logos.

typerequireddefault
enumfalse"m"

product

Brand name of your product. To remove it, set it to false.

typerequireddefault
unionfalse"gojek"

symbol

Renders symbol of your product. This prop will always default to Gojek logo. To remove it, set it to false.

typerequireddefault
unionfalsenull