README
@comparaonline/ui-promotions-image-banner
Installation
yarn add @comparaonline/ui-promotions-banner
Usage
import { ImageBanner } from '@comparaonline/ui-promotions-image-banner';
<ImageBanner
alt=''
srcSmall='...'
srcLarge='...'
/>
prop | required | type | description |
---|---|---|---|
alt |
true |
string |
Alt of image |
srcSmall |
true |
string |
Url image src for small screens |
srcLarge |
true |
string |
Url image src for large screens |