Skip to content

Commit 53bc084

Browse files
authored
Update react-without-es6.md
1 parent a42255d commit 53bc084

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/docs/react-without-es6.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ ES6 class의 API는 몇몇 차이점을 제외하고는 `createReactClass()`와
3030

3131
## Props 기본값 선언 {#declaring-default-props}
3232

33-
함수와 ES6의 class를 통해 `defaultProps` 컴포넌트 그 자체의 속성으로서 정의할 수 있습니다.
33+
함수와 ES6의 class를 통해 `defaultProps` 컴포넌트 그 자체의 속성으로서 정의할 수 있습니다.
3434

3535
```javascript
3636
class Greeting extends React.Component {
@@ -42,7 +42,7 @@ Greeting.defaultProps = {
4242
};
4343
```
4444

45-
`createReactClass()`를 사용한다면, 인자로 넘겨지는 오브젝트 내에서 `getDefaultProps()`를 함수로 정의해야 합니다.
45+
`createReactClass()`를 사용한다면, 인자로 넘겨지는 객체 내에서 `getDefaultProps()`를 함수로 정의해야 합니다.
4646

4747
```javascript
4848
var Greeting = createReactClass({

0 commit comments

Comments
 (0)