Typedefs
[props]
Props for Row
Page Builder Row component.
This component is part of the Page Builder / PWA integration. It can be consumed without Page Builder.
Returns: React.Element — A React component that displays a Row which contains content.
Parameters
Name
Type
Description
props
propsReact component props
Props for Row
Properties
Name
Type
Description
classes
ObjectAn object containing the class names for the Row
classes.contained
StringCSS class for the contained appearance element
classes.inner
StringCSS class for the inner appearance element
classes.root
StringCSS class for the row root element
classes.videoOverlay
StringCSS class for the videoOverlay element
minHeight
StringCSS minimum height property
backgroundColor
StringCSS background-color property
desktopImage
StringBackground image URL to be displayed on desktop devices
mobileImage
StringBackground image URL to be displayed on mobile devices
backgroundSize
StringCSS background-size property
backgroundPosition
StringCSS background-position property
backgroundAttachment
StringCSS background-attachment property
backgroundRepeat
StringCSS background-repeat property
enableParallax
BooleanEnable parallax on this row
parallaxSpeed
NumberThe speed which Parallax should scroll, from -1.0 to 2.0
textAlign
StringAlignment of content within the row
border
StringCSS border property
borderColor
StringCSS border color property
borderWidth
StringCSS border width property
borderRadius
StringCSS border radius property
marginTop
StringCSS margin top property
marginRight
StringCSS margin right property
marginBottom
StringCSS margin bottom property
marginLeft
StringCSS margin left property
mediaQueries
ArrayList of media query rules to be applied to the component
paddingTop
StringCSS padding top property
paddingRight
StringCSS padding right property
paddingBottom
StringCSS padding bottom property
paddingLeft
StringCSS padding left property
cssClasses
ArrayList of CSS classes to be applied to the component
backgroundType
StringBackground type
videoSrc
StringURL to the video
videoFallbackSrc
StringURL to the image which will be displayed before video
videoLoop
BooleanPlay video in loop
videoPlayOnlyVisible
BooleanPlay video when it is visible
videoLazyLoading
BooleanLoad video when it is visible
videoOverlayColor
StringColor for video overlay
Source Code: pwa-studio/packages/pagebuilder/lib/ContentTypes/Row/row.js