| 
				
			 | 
			
			
				@@ -25,6 +25,7 @@ class ModalScreen extends Component { 
			 | 
		
	
		
			
			| 
				25
			 | 
			
				25
			 | 
			
			
				     this.onClickDismissFirstInStack = this.onClickDismissFirstInStack.bind(this); 
			 | 
		
	
		
			
			| 
				26
			 | 
			
				26
			 | 
			
			
				     this.onClickDismissAllModals = this.onClickDismissAllModals.bind(this); 
			 | 
		
	
		
			
			| 
				27
			 | 
			
				27
			 | 
			
			
				     this.onClickPushScreen = this.onClickPushScreen.bind(this); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				28
			 | 
			
			
				+    this.onShowModalWithDeepStack = this.onShowModalWithDeepStack.bind(this); 
			 | 
		
	
		
			
			| 
				28
			 | 
			
				29
			 | 
			
			
				   } 
			 | 
		
	
		
			
			| 
				29
			 | 
			
				30
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				30
			 | 
			
				31
			 | 
			
			
				   render() { 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -37,6 +38,7 @@ class ModalScreen extends Component { 
			 | 
		
	
		
			
			| 
				37
			 | 
			
				38
			 | 
			
			
				         <Button title="Dismiss Unknown Modal" testID={testIDs.DISMISS_UNKNOWN_MODAL_BUTTON} onPress={this.onClickDismissUnknownModal} /> 
			 | 
		
	
		
			
			| 
				38
			 | 
			
				39
			 | 
			
			
				         <Button title="Dismiss All Modals" testID={testIDs.DISMISS_ALL_MODALS_BUTTON} onPress={this.onClickDismissAllModals} /> 
			 | 
		
	
		
			
			| 
				39
			 | 
			
				40
			 | 
			
			
				         <Button title="Push screen" testID={testIDs.PUSH_BUTTON} onPress={this.onClickPushScreen} /> 
			 | 
		
	
		
			
			| 
				
			 | 
			
				41
			 | 
			
			
				+        <Button title="Show Modal With Stack" testID={testIDs.PUSH_BUTTON} onPress={this.onShowModalWithDeepStack} /> 
			 | 
		
	
		
			
			| 
				40
			 | 
			
				42
			 | 
			
			
				         {this.getPreviousModalId() ? (<Button title="Dismiss Previous Modal" testID={testIDs.DISMISS_PREVIOUS_MODAL_BUTTON} onPress={this.onClickDismissPreviousModal} />) : undefined} 
			 | 
		
	
		
			
			| 
				41
			 | 
			
				43
			 | 
			
			
				         {this.props.previousModalIds ? (<Button title="Dismiss ALL Previous Modals" testID={testIDs.DISMISS_ALL_PREVIOUS_MODAL_BUTTON} onPress={this.onClickDismissAllPreviousModals} />) : undefined} 
			 | 
		
	
		
			
			| 
				42
			 | 
			
				44
			 | 
			
			
				         {this.props.previousModalIds ? (<Button title="Dismiss First In Stack" testID={testIDs.DISMISS_FIRST_MODAL_BUTTON} onPress={this.onClickDismissFirstInStack} />) : undefined} 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -92,6 +94,31 @@ class ModalScreen extends Component { 
			 | 
		
	
		
			
			| 
				92
			 | 
			
				94
			 | 
			
			
				     }); 
			 | 
		
	
		
			
			| 
				93
			 | 
			
				95
			 | 
			
			
				   } 
			 | 
		
	
		
			
			| 
				94
			 | 
			
				96
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				
			 | 
			
				97
			 | 
			
			
				+  onShowModalWithDeepStack() { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				98
			 | 
			
			
				+    Navigation.showModal({ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				99
			 | 
			
			
				+      stack: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				100
			 | 
			
			
				+        children: [ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				101
			 | 
			
			
				+          { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				102
			 | 
			
			
				+            component: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				103
			 | 
			
			
				+              name: `navigation.playground.TextScreen`, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				104
			 | 
			
			
				+              passProps: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				105
			 | 
			
			
				+                text: 'Screen 1' 
			 | 
		
	
		
			
			| 
				
			 | 
			
				106
			 | 
			
			
				+              } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				107
			 | 
			
			
				+            } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				108
			 | 
			
			
				+          }, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				109
			 | 
			
			
				+          { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				110
			 | 
			
			
				+            component: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				111
			 | 
			
			
				+              name: `navigation.playground.TextScreen`, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				112
			 | 
			
			
				+              passProps: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				113
			 | 
			
			
				+                text: 'Screen 2' 
			 | 
		
	
		
			
			| 
				
			 | 
			
				114
			 | 
			
			
				+              } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				115
			 | 
			
			
				+            } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				116
			 | 
			
			
				+          } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				117
			 | 
			
			
				+        ] 
			 | 
		
	
		
			
			| 
				
			 | 
			
				118
			 | 
			
			
				+      } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				119
			 | 
			
			
				+    }); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				120
			 | 
			
			
				+  } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				121
			 | 
			
			
				+ 
			 | 
		
	
		
			
			| 
				95
			 | 
			
				122
			 | 
			
			
				   getModalPosition() { 
			 | 
		
	
		
			
			| 
				96
			 | 
			
				123
			 | 
			
			
				     return (this.props.modalPosition || 1); 
			 | 
		
	
		
			
			| 
				97
			 | 
			
				124
			 | 
			
			
				   } 
			 |