From 719ab07752c59ecdd695010c48d5fdcfaa5be815 Mon Sep 17 00:00:00 2001 From: Yucohny Date: Tue, 4 Jul 2023 08:28:02 +0800 Subject: [PATCH 1/4] docs(cn): translate reference/react-dom/components/index --- .../reference/react-dom/components/index.md | 48 +++++++++---------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/src/content/reference/react-dom/components/index.md b/src/content/reference/react-dom/components/index.md index e025725e0a..d94581d582 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) +* [Common components(如 `
`)](/reference/react-dom/components/common) -This includes React-specific props like `ref` and `dangerouslySetInnerHTML`. +这包括 React 特定的属性,比如 `ref` 和 `dangerouslySetInnerHTML`。 --- -## Form components {/*form-components*/} +## 表单组件 {/*form-components*/} -These built-in browser components accept user input: +这些浏览器内置组件接收用户的输入: * [``](/reference/react-dom/components/input) * [`