5.4.14 • Published 4 years ago
@comparaonline/ui-promotions-image-banner v5.4.14
@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 |