diff --git a/docs/docs/docs/api/runtime-config.en-US.md b/docs/docs/docs/api/runtime-config.en-US.md
index 1b215766fbc3..7fe7a7954980 100644
--- a/docs/docs/docs/api/runtime-config.en-US.md
+++ b/docs/docs/docs/api/runtime-config.en-US.md
@@ -302,7 +302,19 @@ Modify the root component handed over to react-dom for rendering.
For example, to wrap a Provider around the outside,
-```js
+e.g.
+```jsx
+export function rootContainer(container, args) {
+ return (
+
+ {container}
+
+ );
+}
+```
+
+e.g.
+```jsx
export function rootContainer(container, args) {
return React.createElement(ThemeProvider, null, container);
}
diff --git a/docs/docs/docs/api/runtime-config.md b/docs/docs/docs/api/runtime-config.md
index 1f64f54b6aca..ae23819ca199 100644
--- a/docs/docs/docs/api/runtime-config.md
+++ b/docs/docs/docs/api/runtime-config.md
@@ -310,7 +310,18 @@ export function render(oldRender) {
比如用于在外面包一个 Provider,
-```js
+e.g.
+```jsx
+export function rootContainer(container, args) {
+ return (
+
+ {container}
+
+ );
+}
+```
+e.g.
+```jsx
export function rootContainer(container, args) {
return React.createElement(ThemeProvider, null, container);
}