@comparaonline/ui-offer-badge
v6.1.0
Published
## Installation
Downloads
73
Maintainers
Keywords
Readme
@comparaonline/ui-offer-badge
Installation
yarn add @comparaonline/ui-offer-badge
Usage
This package will show details of each offer that is passing down to the component.
<OfferBadge color="cerise" label="badge" description="tooltip badge" />
Props
This components is composed by some properties that are listed below.
| Prop Name | Description | Default Value | Expected Type Value | | ----------- | ---------------------- | ------------- | ----------------------------------------------------------------- | | color | color of the badge | null | LabelColors: 'light-gray', 'copper', 'eminence', 'jade', 'cerise' | | label | the color of the badge | null | string | | description | the color of the badge | null | string |