Skip to content
medium-manual-promo-block / 5.15.1-arc-themes-release-version-2.5.0.4900

medium-manual-promo-block 5.15.1-arc-themes-release-version-2.5.0.4900

Install from the command line:
Learn more about npm packages
$ npm install @wpmedia/medium-manual-promo-block@5.15.1-arc-themes-release-version-2.5.0.4900
Install via package.json:
"@wpmedia/medium-manual-promo-block": "5.15.1-arc-themes-release-version-2.5.0.4900"

About this version

@wpmedia/medium-manual-promo-block

Medium Manual Promo Block provides a way for a PageBuilder user to create a promo item and manually configure the text and image used therein.

Props

Prop Required Type Description
customFields yes Shape PageBuilder custom fields values

Custom Fields

Prop Required Type Description
description no String The Description text to display
headline no String The Headline text to display
imageRatio no String The suggested image dimension ratio (width:height)
imageURL no Url The url used for the image to be displayed
lazyLoad no Boolean Prevent the block from being loaded on the page until it is nearly in-view for the user
linkURL no Url The url used for navigating when the healine or image is clicked
newTab no Boolean Flag to determine if links should open in a new window/tab
showDescription no Boolean Flag to determine if the Description portion is displayed
showHeadline no Boolean Flag to determine if the Headline portion is displayed
showImage no Boolean Flag to determine if the Image portion is displayed