@comparaonline/ui-promotions-message-banner
v5.4.14
Published
## Installation
Downloads
530
Maintainers
Keywords
Readme
@comparaonline/ui-promotions-message-banner
Installation
yarn add @comparaonline/ui-promotions-message-bannerUsage
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 |
