VisualContentProps
Index
Properties
Properties
optionalcomponents
An optional object of React components. You can pass any number of replacement components that will render blocks of a given type.
optionalcontent
The content to render. It should be the object returned by Starlight on a Visual Editor field. Required.
optionalexcerpt
If true, only a small portion of the content will be rendered, and block types other than text paragraphs will be ignored. Defaults to false.
optionalexcerptLength
Defines the maximum number of words to render when excerpt is true. Defaults to 40.
Props accepted by the VisualContent component.