소스 검색

typo fixes for README (#1690)

Jordan Piggott 7 년 전
부모
커밋
c1d1c6b068
1개의 변경된 파일4개의 추가작업 그리고 6개의 파일을 삭제
  1. 4
    6
      README.md

+ 4
- 6
README.md 파일 보기

326
 ```js
326
 ```js
327
 Navigation.dismissAllModals();
327
 Navigation.dismissAllModals();
328
 ```
328
 ```
329
-#### Screen Lifecycle - didDisppear() and didAppear()
329
+#### Screen Lifecycle - didDisappear() and didAppear()
330
 
330
 
331
-The didDisppear() and didAppear() functions are lifecycle functions that are added to the screen and run when a screen apears and disappears from the screen. To use them simply add them to your component like any other react lifecycle function:
331
+The didDisappear() and didAppear() functions are lifecycle functions that are added to the screen and run when a screen apears and disappears from the screen. To use them simply add them to your component like any other react lifecycle function:
332
 
332
 
333
 ```js
333
 ```js
334
 class LifecycleScreen extends Component {
334
 class LifecycleScreen extends Component {
343
     this.setState({ text: 'didAppear' });
343
     this.setState({ text: 'didAppear' });
344
   }
344
   }
345
 
345
 
346
-  didDisppear() {
347
-    alert('didDisppear');
346
+  didDisappear() {
347
+    alert('didDisappear');
348
   }
348
   }
349
 
349
 
350
   componentWillUnmount() {
350
   componentWillUnmount() {
361
   }
361
   }
362
 }
362
 }
363
 ```
363
 ```
364
-
365
-