From 5fa152985bcbc731c98a9ee161f8de7835d8685b Mon Sep 17 00:00:00 2001 From: Yucohny <79147654+Yucohny@users.noreply.github.com> Date: Tue, 4 Jul 2023 08:41:56 +0800 Subject: [PATCH] docs(cn): translate reference/react-dom/components/index into Chinese (#1239) --- .../reference/react-dom/components/index.md | 74 +++++++++---------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/src/content/reference/react-dom/components/index.md b/src/content/reference/react-dom/components/index.md index e025725e0a..9418e2470b 100644 --- a/src/content/reference/react-dom/components/index.md +++ b/src/content/reference/react-dom/components/index.md @@ -1,40 +1,40 @@ --- -title: "React DOM Components" +title: "React DOM 组件" --- -React supports all of the browser built-in [HTML](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element) and [SVG](https://developer.mozilla.org/zh-CN/docs/Web/SVG/Element) components. +React 支持所有浏览器内置的 [HTML](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element) 与 [SVG](https://developer.mozilla.org/zh-CN/docs/Web/SVG/Element) 组件。 --- -## Common components {/*common-components*/} +## 通用组件 {/*common-components*/} -All of the built-in browser components support some props and events. +所有的浏览器内置组件都支持一些共同的属性与方法。 -* [Common components (e.g. `
`)](/reference/react-dom/components/common) +* [通用组件(如 `
`)](/reference/react-dom/components/common) -This includes React-specific props like `ref` and `dangerouslySetInnerHTML`. +这些组件在 React 中可以使用 React 特有的属性,如 `ref` 与 `dangerouslySetInnerHTML`。 --- -## Form components {/*form-components*/} +## 表单组件 {/*form-components*/} -These built-in browser components accept user input: +这些浏览器内置组件接收用户的输入: * [``](/reference/react-dom/components/input) * [`