Skip to content

Commit 370e113

Browse files
author
SoHye Choi
committed
Fix typo
1 parent b783ffb commit 370e113

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/docs/components-and-props.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ ReactDOM.render(
8080

8181
이 예시에서는 다음과 같은 일들이 일어납니다.
8282

83-
1. `<Welcome name="Sara" />` 엘리먼트로 `ReactDOM.render()` 를 호출합니다.
84-
2. React는 `{name: 'Sara'}`를 props로 하여 `Welcome`컴포넌트를 호출합니다.
83+
1. `<Welcome name="Sara" />` 엘리먼트로 `ReactDOM.render()`를 호출합니다.
84+
2. React는 `{name: 'Sara'}`를 props로 하여 `Welcome` 컴포넌트를 호출합니다.
8585
3. `Welcome` 컴포넌트는 결과적으로 `<h1>Hello, Sara</h1>` 엘리먼트를 반환합니다.
8686
4. React DOM은 `<h1>Hello, Sara</h1>` 엘리먼트와 일치하도록 DOM을 효율적으로 업데이트합니다.
8787

0 commit comments

Comments
 (0)