1.0.9 • Published 2 years ago
@comparaonline/ui-promotions-video-banner v1.0.9
@comparaonline/ui-promotions-video-banner
Installation
yarn add @comparaonline/ui-promotions-banner
Usage
import { VideoBanner } from '@comparaonline/ui-promotions-video-banner';
<VideoBanner
srcLarge="...",
srcSmall="...",
linkUrl="",
linkText="",
/>
prop | required | type | description |
---|---|---|---|
srcSmall | true | string | Url video src for small screens |
srcLarge | true | string | Url video src for large screens |
linkUrl | true | string | Link where you will redirect when clicking the video |
linkText | false | string | Link title |