You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/reference/react-dom/server/renderToStaticMarkup.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,9 +34,9 @@ const html = renderToStaticMarkup(<Page />);
34
34
35
35
#### 参数 {/*parameters*/}
36
36
37
-
* `reactNode`: A React node you want to render to HTML. For example, a JSX node like `<Page />`.
38
-
* **optional** `options`: An object for server render.
39
-
* **optional** `identifierPrefix`: A string prefix React uses for IDs generated by [`useId`.](/reference/react/useId) Useful to avoid conflicts when using multiple roots on the same page.
37
+
* `reactNode`:你想要渲染到 HTML 的 React 节点。例如像是 `<Page />` 之类的 JSX。
0 commit comments