Skip to content

Commit 4965f6a

Browse files
committed
apply review feedback(translate 'Try it on CodePen')
1 parent 9f037a6 commit 4965f6a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/docs/composition-vs-inheritance.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function WelcomeDialog() {
4545
}
4646
```
4747

48-
**[Try it on CodePen](https://codepen.io/gaearon/pen/ozqNOV?editors=0010)**
48+
**[CodePen에서 실행하기](https://codepen.io/gaearon/pen/ozqNOV?editors=0010)**
4949

5050
`<FancyBorder>` JSX 태그 안에 있는 것들이 `FancyBorder` 컴포넌트의 `children` prop으로 전달됩니다. `FancyBorder``{props.children}``<div>` 안에 렌더링하므로 전달된 엘리먼트들이 최종 출력됩니다.
5151

@@ -78,7 +78,7 @@ function App() {
7878
}
7979
```
8080

81-
[**Try it on CodePen**](https://codepen.io/gaearon/pen/gwZOJp?editors=0010)
81+
[**CodePen에서 실행하기**](https://codepen.io/gaearon/pen/gwZOJp?editors=0010)
8282

8383
`<Contacts />``<Chat />`같은 React 엘리먼트는 단지 객체이기 때문에 다른 데이터처럼 prop으로 전달할 수 있습니다. 이러한 접근은 다른 라이브러리의 "슬롯 (slots)"과 비슷해보이지만 React에서 prop으로 전달할 수 있는 것에는 제한이 없습니다.
8484

@@ -111,7 +111,7 @@ function WelcomeDialog() {
111111
}
112112
```
113113

114-
[**Try it on CodePen**](https://codepen.io/gaearon/pen/kkEaOZ?editors=0010)
114+
[**CodePen에서 실행하기**](https://codepen.io/gaearon/pen/kkEaOZ?editors=0010)
115115

116116
합성은 클래스로 정의된 컴포넌트에서도 동일하게 적용됩니다.
117117

@@ -161,7 +161,7 @@ class SignUpDialog extends React.Component {
161161
}
162162
```
163163

164-
[**Try it on CodePen**](https://codepen.io/gaearon/pen/gwZbYa?editors=0010)
164+
[**CodePen에서 실행하기**](https://codepen.io/gaearon/pen/gwZbYa?editors=0010)
165165

166166
## 그렇다면 상속은? {#so-what-about-inheritance}
167167

0 commit comments

Comments
 (0)