PreviewBridgeProps
Properties
Section titled “Properties”banner?
Section titled “banner?”
optionalbanner?:boolean
Show the “Draft preview” banner when this page was opened by Composer (not framed). Default true.
children?
Section titled “children?”
optionalchildren?:ReactNode
origins?
Section titled “origins?”
optionalorigins?: readonlystring[]
Origins Composer may speak from. Default https://content.ebitex.io; add your own for a self-hosted Composer or local development.
optionalpath?:string
Your router’s current pathname — posted to Composer as navigated when it changes (Browse mode follows links).
scope?
Section titled “scope?”
optionalscope?:"page"|"app"
'page' (default): the bridge replaces children with <Experience result> once a document
arrives. 'app' wraps the whole app instead — children always render, and
<Experience path> inside them reads the posted document from context rather than fetching, so
a <StandaloneComponent> sitting outside any one page’s own root (a header, a footer) can still
preview.