Skip to content

RenderPresentation

RenderPresentation<TContent, TSettings>(props): ReactNode

The dispatch point: looks the renderer up by template.externalId, gates on the bound Component’s resolution, and renders <Renderer template settings component /> with component.content guaranteed present. Every case where it cannot is rendered through the fallback with a specific reason. Spread an envelope straight in: <RenderPresentation {...envelope} />.

TContent = ContentDocument

TSettings = ContentDocument

RenderPresentationProps<TContent, TSettings>

ReactNode