Skip to content

Commit

Permalink
docs: fix headings and typo
Browse files Browse the repository at this point in the history
  • Loading branch information
heenakwag committed Jun 30, 2022
1 parent 6ad0b8e commit f341cb2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
- [📅 Features](#-features)
- [✨ Monthly, Weekly, Daily and Various View Types](#-monthly-weekly-daily-and-various-view-types)
- [Easy to Use: Dragging and Resizing a Schedule](#easy-to-use-dragging-and-resizing-a-schedule)
- [Ready to Use: Default Popups](#ready-to-use-default-popups)
- [Ready to Use: Default Popups](#ready-to-use-default-popups)
- [🎨 Other Features](#-other-features)
- [💬 Contributing](#-contributing)
- [🌏 Browser Support](#-browser-support)
Expand Down Expand Up @@ -65,7 +65,7 @@ To disable GA, refer to the docs below.
| --- | --- |
| ![image](https://user-images.githubusercontent.com/26706716/39230930-591031f8-48a3-11e8-8f62-e12e6c19920c.gif) | ![image](https://user-images.githubusercontent.com/26706716/39231671-c926d0da-48a5-11e8-959d-35fd32f2c522.gif) |

## Ready to Use: Default Popups
### Ready to Use: Default Popups

| Creation Popup | Detail Popup |
| --- | --- |
Expand Down
12 changes: 6 additions & 6 deletions apps/react-calendar/docs/ko/guide/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
- [CSS](#css)
- [React에서 사용하기](#react에서-사용하기)
- [Props](#props)
- [테마](#테마)
- [인스턴스 메소드](#인스턴스-메소드)
- [테마](#테마)
- [인스턴스 메서드](#인스턴스-메서드)
- [메서드](#메서드)
- [getRootElement](#getrootelement)
- [getInstance](#getinstance)
Expand Down Expand Up @@ -224,14 +224,14 @@ export function MyComponent() {
}
```

### 테마
#### 테마

theme 객체를 사용해서 자신만의 테마를 적용할 수 있다. 더 자세한 정보는 [`theme`](/docs/ko/apis/theme.md) 문서를 참고한다.

### 인스턴스 메소드
### 인스턴스 메서드

[TOAST UI Calendar의 인스턴스 메소드](/docs/ko/apis/calendar.md#instance-methods)를 사용하기 위해선, 먼저 [`createRef()`](https://reactjs.org/docs/refs-and-the-dom.html#creating-refs)를 이용해서 wrapper 컴포넌트에 대한 ref를 만들어야한다.
하지만 wrapper 컴포넌트에서 인스턴스 메소드를 직접 호출할 수 없다. 대신 `getInstance()` 메서드를 호출해서 인스턴스를 얻은 후에 인스턴스 메서드를 호출할 수 있다.
[TOAST UI Calendar의 인스턴스 메서드](/docs/ko/apis/calendar.md#instance-methods)를 사용하기 위해선, 먼저 [`createRef()`](https://reactjs.org/docs/refs-and-the-dom.html#creating-refs)를 이용해서 wrapper 컴포넌트에 대한 ref를 만들어야한다.
하지만 wrapper 컴포넌트에서 인스턴스 메서드를 직접 호출할 수 없다. 대신 `getInstance()` 메서드를 호출해서 인스턴스를 얻은 후에 인스턴스 메서드를 호출할 수 있다.

### 메서드

Expand Down
2 changes: 1 addition & 1 deletion docs/ko/guide/migration-guide-v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ v1에서는 현재 시간선을 나타내는 용어로 `currentTimeIndicator`과

v1에서는 캘린더의 렌더링을 직접적인 DOM 조작으로 처리했다. 이에 따라 캘린더를 조작할 때마다 불필요한 렌더링이 일어날 수 있었다.

v2에서는 가상 DOM을 이용해 불필요한 렌더링을 줄여 렌더링 속도를 개선하고 서버 사이드 렌더링(SSR)을 지원하기 위해 [preact](https://preactjs.com/)를 도입하였다. 이에 따라 인스턴스 메소드 사용 시 렌더링을 제어하는 `force`, `silent` 등의 파라미터가 제거되었고 캘린더 내부의 상태에 따라 렌더링이 제어되어 인스턴스 메소드를 사용할 때 렌더링을 제어할 수 없게 되었다.
v2에서는 가상 DOM을 이용해 불필요한 렌더링을 줄여 렌더링 속도를 개선하고 서버 사이드 렌더링(SSR)을 지원하기 위해 [preact](https://preactjs.com/)를 도입하였다. 이에 따라 인스턴스 메서드 사용 시 렌더링을 제어하는 `force`, `silent` 등의 파라미터가 제거되었고 캘린더 내부의 상태에 따라 렌더링이 제어되어 인스턴스 메서드를 사용할 때 렌더링을 제어할 수 없게 되었다.

#### 테마 개선

Expand Down

0 comments on commit f341cb2

Please sign in to comment.