Typedefs
[props]
Props for RichContent
RichContent component.
This component serves as the pool to determine which type of content is being rendered and pass the data off to the correct system.
Returns: React.Element — A React component that renders Heading with optional styling properties.
Parameters
Name
Type
Description
props
ObjectReact component props
Props for RichContent
Properties
Name
Type
Description
classes
ObjectAn object containing the class names for the RichContent
classes.root
StringCSS class for the root container element
html
StringContent
Source Code: pwa-studio/packages/venia-ui/lib/components/RichContent/richContent.js