@comparaonline/ui-offer-featured

yarn add @comparaonline/ui-offer-featured

Usage no npm install needed!

<script type="module">
  import comparaonlineUiOfferFeatured from 'https://cdn.skypack.dev/@comparaonline/ui-offer-featured';
</script>

README

@comparaonline/ui-offer-featured

Installation

yarn add @comparaonline/ui-offer-featured

Usage

  <Featured
    mainColor="black"
    contrastColor="white"
    label="label text" />
    description="description text"
  />

Props

Name Description Type Required Default Value
mainColor color of background string true N/A
contrastColor color of inner elements string true N/A
label main text string or number true N/A
description text to show on tooltip string or number false undefined