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
Object
React component props

Props for RichContent

Properties

Name
Type
Description
classes
Object
An object containing the class names for the RichContent
classes.root
String
CSS class for the root container element
html
String
Content

Source Code: pwa-studio/packages/venia-ui/lib/components/RichContent/richContent.js