Props
Determines which version of the site to render. If 
null is passed,
then the published site content will be rendered.The children components to render.
A valid locale string (ex. "en-US").
This is required if your site supports
more than one locale.
Example
- App Router
- Pages Router
The following example shows how the 
<ReactRuntimeProvider> is used to implement the <MakeswiftProvider> client component as outlined in step 9 of the App Router Installation guide. The <MakeswiftProvider> is subsequently utilized in the App Router’s root layout.Changelog
| Version | Changes | 
|---|---|
| v0.25.0 | Replace the previewModeboolean prop withsiteVersion |