Edit in GitHubLog an issue

ProductImageCarousel

Typedefs

props

Props for ProductImageCarousel

Carousel component for product images Carousel - Component that holds number of images where typically one image visible, and other images can be navigated through previous and next buttons

Returns: React.Element — React carousel component that displays a product image

Parameters

NameType
propsprops

Props for ProductImageCarousel

Properties

NameTypeDescription
classesObjectAn object containing the class names for the ProductImageCarousel component
classes.currentImagestringclasses for visible image
classes.imageContainerstringclasses for image container
classes.nextButtonstringclasses for next button
classes.previousButtonstringclasses for previous button
classes.rootstringclasses for root container
imagesArray.<Object>Product images input for Carousel
images[].disabledboolIs image disabled
images[].filestringfilePath of image
images[].uidstringthe id of the image
images[].labelstringlabel for image
images[].positionstringPosition of image in Carousel

Source Code: pwa-studio/packages/venia-ui/lib/components/ProductImageCarousel/carousel.js

  • Privacy
  • Terms of Use
  • Do not sell my personal information
  • AdChoices
Copyright © 2022 Adobe. All rights reserved.