Natural Performance Manager
    Wondering what’s next for npm?Check out our public roadmap! »

    @comparaonline/ui-offer-badge
    TypeScript icon, indicating that this package has built-in type declarations

    6.1.0 • Public • Published

    @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

    Keywords

    none

    Install

    npm i @comparaonline/ui-offer-badge

    DownloadsWeekly Downloads

    45

    Version

    6.1.0

    License

    MIT

    Unpacked Size

    20 kB

    Total Files

    14

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar