Skip to content

Commit 3211acf

Browse files
authored
「React」の節のViewSourceの参照先を修正 (#919)
1 parent 8b77ab8 commit 3211acf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/4-advanced/04-react/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ export default function App() {
435435
}
436436
```
437437

438-
<ViewSource url={import.meta.url} path="_samples/table" />
438+
<ViewSource url={import.meta.url} path="_samples/student-data" />
439439

440440
</Answer>
441441

@@ -634,7 +634,7 @@ export default function App() {
634634
}
635635
```
636636

637-
<ViewSource url={import.meta.url} path="_samples/react-fixed-input" />
637+
<ViewSource url={import.meta.url} path="_samples/react-input" />
638638

639639
`onChange`属性には、要素のテキストが変更された際に発生するイベントのイベントハンドラを指定します。Reactの`onChange`属性は、DOMの[`change`イベント](https://developer.mozilla.org/ja/docs/Web/API/HTMLElement/change_event)ハンドラと同様に記述することができ、第1引数には[`Event`オブジェクト](https://developer.mozilla.org/ja/docs/Web/API/Event)に似た値が与えられます。
640640

0 commit comments

Comments
 (0)