Typedefs
[props]
Props for Divider
Page Builder Divider 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 Divider.
Parameters
Name
Type
Description
props
propsReact component props
Props for Divider
Properties
Name
Type
Description
classes
ObjectAn object containing the class names for the Divider
classes.hr
StringCSS classes for the hr element
width
StringWidth of the divider
color
StringColor of the divider
thickness
StringThickness of the divider
textAlign
StringAlignment of the divider within the parent container
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
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
Source Code: pwa-studio/packages/pagebuilder/lib/ContentTypes/Divider/divider.js