Sfoglia il codice sorgente

Fixing spelling on events doc (#5257)

bcleland 5 anni fa
parent
commit
ae84e684f4
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2
    2
      docs/docs/events.md

+ 2
- 2
docs/docs/events.md Vedi File

@@ -59,7 +59,7 @@ screenEventListener.remove();
59 59
 |**passProps**| props passed to the component|
60 60
 
61 61
 ## componentDidDisappear
62
-Called each time this component disappears from screen (detached from the view heirarchy)
62
+Called each time this component disappears from screen (detached from the view hierarchy)
63 63
 
64 64
 ```js
65 65
 class MyComponent extends Component {
@@ -115,7 +115,7 @@ commandListener.remove();
115 115
 |**params**|`commandId`: Each command is assigned a unique Id<br>`componentId`: Optional, the componentId passed to the command<br>`layout`: Optional, If the command invoked created a screen. Slim representation of the component and its options |
116 116
 
117 117
 ## registerCommandCompletedListener
118
-Invoked when a command finishes executing in native. If the command contains animations, for example pushed screen animation,) the listener is invoked after the animation ends.
118
+Invoked when a command finishes executing in native. If the command contains animations, for example pushed screen animation, the listener is invoked after the animation ends.
119 119
 
120 120
 ```js
121 121
 // Subscribe