ContentProviderProps
@ebitex/content-sdk/react — the rendering half. Crawls a delivered document by dispatching
at every Presentation envelope on template.externalId to a renderer you register by
convention (presentations/<externalId>.tsx, default export), with a guiding fallback for
everything that cannot be rendered. React is a peer dependency, never bundled.
Properties
Section titled “Properties”children?
Section titled “children?”
optionalchildren?:ReactNode
client?
Section titled “client?”
optionalclient?:ContentClient
Optional: a tree with renderers but no client still renders a pre-resolved document
(<Experience result>), which is the SSR path and the seam a live-preview bridge injects
through. Required for the hook-driven <Experience path> and the normalized strategy.
errorFallback?
Section titled “errorFallback?”
optionalerrorFallback?:ComponentType<ContentErrorProps>
Replaces the default developer-facing error panel.
fallback?
Section titled “fallback?”
optionalfallback?:ComponentType<UnresolvedPresentationProps>
Replaces the default developer-facing panel for a Presentation that cannot be rendered.
loading?
Section titled “loading?”
optionalloading?:ReactNode
Rendered while a renderer loads or a reference resolves. Defaults to nothing.
markdown?
Section titled “markdown?”
optionalmarkdown?:ComponentType<MarkdownRendererProps>
Renders a RichText markdown fragment. Without one, the default shows the source with a note — pass a markdown renderer, for example one built on react-markdown.
renderers
Section titled “renderers”renderers:
Renderers