Skip to content
story-carousel-block / 0.1.1-arc-themes-release-version-2.1.3.4756

story-carousel-block 0.1.1-arc-themes-release-version-2.1.3.4756

Install from the command line:
Learn more about npm packages
$ npm install @wpmedia/story-carousel-block@0.1.1-arc-themes-release-version-2.1.3.4756
Install via package.json:
"@wpmedia/story-carousel-block": "0.1.1-arc-themes-release-version-2.1.3.4756"

About this version

@wpmedia/story-carousel-block

A ANS feed enabled carousel block.

Props

Prop Required Type Description
customFields yes PropTypes.shape Pagebuilder Custom Fields

customFields

Prop Required Type Description
headerText no PropTypes.string Carousel Header text

ANS Schema

Outline any schema information requirements necessary to know for ths block

ANS Fields

  • content_elements[x].headlines.basic
  • content_elements[x].description.basic
  • content_elements[x].basic.url or content_elements[0].lead_art.promo_items.basic.url

Internationalization fields

Phrase key Default (English)
story-carousel.aria-label Stories
story-carousel.right-arrow-label Next
story-carousel.left-arrow-label Previous
story-carousel.slide-indicator Slide %{current} of %{maximum}

Events

N/A

Event Listening

This block does not emit any events.