Browse Source

Updated screen-api.md

yogevbd 6 years ago
parent
commit
50c2e467c2
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      docs/docs/screen-api.md

+ 5
- 5
docs/docs/screen-api.md View File

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