Skip to content

Commit 8d6355c

Browse files
authored
docs: add tranalse in /reference/react-dom/components/input
1 parent a1c885c commit 8d6355c

File tree

1 file changed

+1
-1
lines changed
  • src/content/reference/react-dom/components

1 file changed

+1
-1
lines changed

src/content/reference/react-dom/components/input.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ function SignupForm() {
526526
<input type="checkbox" defaultChecked={something} />
527527
```
528528
529-
If you want [to control this checkbox with a state variable,](#controlling-an-input-with-a-state-variable) specify an `onChange` handler:
529+
如果你想 [用一个状态变量来控制这个复选框](#controlling-an-input-with-a-state-variable),指定一个 `onChange` 处理:
530530
531531
```js
532532
// ✅ Good:具有 onChange 事件处理程序的受控多选框

0 commit comments

Comments
 (0)