yogevbd пре 6 година
родитељ
комит
50c2e467c2
1 измењених фајлова са 5 додато и 5 уклоњено
  1. 5
    5
      docs/docs/screen-api.md

+ 5
- 5
docs/docs/screen-api.md Прегледај датотеку

@@ -25,7 +25,7 @@ Navigation.push(this.props.componentId, {
25 25
 });
26 26
 ```
27 27
 
28
-## pop(componentId)
28
+## pop(componentId, mergeOptions?)
29 29
 
30 30
 Pop the top screen from this screen's navigation stack.
31 31
 
@@ -33,14 +33,14 @@ Pop the top screen from this screen's navigation stack.
33 33
 Navigation.pop(this.props.componentId);
34 34
 ```
35 35
 
36
-## popToRoot(componentId)
36
+## popToRoot(componentId, mergeOptions?)
37 37
 
38 38
 Pop all the screens until the root from this screen's navigation stack.
39 39
 
40 40
 ```js
41 41
 Navigation.popToRoot(this.props.componentId);
42 42
 ```
43
-## popTo(componentId)
43
+## popTo(componentId, mergeOptions?)
44 44
 
45 45
 Pop the stack to a given component.
46 46
 
@@ -96,7 +96,7 @@ Navigation.showModal({
96 96
 });
97 97
 ```
98 98
 
99
-## dismissModal(componentId)
99
+## dismissModal(componentId, mergeOptions?)
100 100
 
101 101
 Dismiss the current modal.
102 102
 
@@ -104,7 +104,7 @@ Dismiss the current modal.
104 104
 Navigation.dismissModal(this.props.componentId);
105 105
 ```
106 106
 
107
-## dismissAllModals()
107
+## dismissAllModals(mergeOptions?)
108 108
 
109 109
 Dismiss all the current modals at the same time.
110 110