@comparaonline/ui-promotions-message-banner
TypeScript icon, indicating that this package has built-in type declarations

5.4.14 • Public • Published

@comparaonline/ui-promotions-message-banner

Installation

yarn add @comparaonline/ui-promotions-message-banner

Usage

import { MessageBanner } from '@comparaonline/ui-promotions-message-banner';

<MessageBanner
  backgroundColor="..."
  title="..."
  content="..."
  imageUrl="..."
  link={{ url: "...", text: "..." }}
/>
prop required type description
backgroundColor true string Background color of container
content true string Content text
title false string Title text
imageUrl false string Url of image
link false object: { url: string, text: string } Text and url of content link

Readme

Keywords

none

Package Sidebar

Install

npm i @comparaonline/ui-promotions-message-banner

Weekly Downloads

0

Version

5.4.14

License

MIT

Unpacked Size

7.62 kB

Total Files

10

Last publish

Collaborators

  • gnavarro
  • dsuarez_compa
  • pfariaz
  • ricardo.sosa
  • suarezcumare
  • fverag
  • comparaonline-dev
  • comparaonlineprivate
  • matotias
  • javierlara1989
  • smurua
  • eseceve
  • pablocompara