| 
				
			 | 
			
			
				@@ -18,6 +18,7 @@ class CustomDialog extends PureComponent { 
			 | 
		
	
		
			
			| 
				18
			 | 
			
				18
			 | 
			
			
				       <View style={styles.root}> 
			 | 
		
	
		
			
			| 
				19
			 | 
			
				19
			 | 
			
			
				         <Text style={styles.h1} testID={testIDs.DIALOG_HEADER}>Test view</Text> 
			 | 
		
	
		
			
			| 
				20
			 | 
			
				20
			 | 
			
			
				         <Button title='OK' testID={testIDs.OK_BUTTON} onPress={() => this.onCLickOk()} /> 
			 | 
		
	
		
			
			| 
				
			 | 
			
				21
			 | 
			
			
				+        <Button title='Set Root' testID={testIDs.SET_ROOT_BUTTON} onPress={() => this.onCLickSetRoot()} /> 
			 | 
		
	
		
			
			| 
				21
			 | 
			
				22
			 | 
			
			
				       </View> 
			 | 
		
	
		
			
			| 
				22
			 | 
			
				23
			 | 
			
			
				     ); 
			 | 
		
	
		
			
			| 
				23
			 | 
			
				24
			 | 
			
			
				   } 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -27,9 +28,20 @@ class CustomDialog extends PureComponent { 
			 | 
		
	
		
			
			| 
				27
			 | 
			
				28
			 | 
			
			
				       Alert.alert('Overlay disappeared'); 
			 | 
		
	
		
			
			| 
				28
			 | 
			
				29
			 | 
			
			
				     } 
			 | 
		
	
		
			
			| 
				29
			 | 
			
				30
			 | 
			
			
				   } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				31
			 | 
			
			
				+   
			 | 
		
	
		
			
			| 
				30
			 | 
			
				32
			 | 
			
			
				   onCLickOk() { 
			 | 
		
	
		
			
			| 
				31
			 | 
			
				33
			 | 
			
			
				     Navigation.dismissOverlay(this.props.componentId); 
			 | 
		
	
		
			
			| 
				32
			 | 
			
				34
			 | 
			
			
				   } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				35
			 | 
			
			
				+   
			 | 
		
	
		
			
			| 
				
			 | 
			
				36
			 | 
			
			
				+  onCLickSetRoot() { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				37
			 | 
			
			
				+    Navigation.setRoot({ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				38
			 | 
			
			
				+      root: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				39
			 | 
			
			
				+        component: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				40
			 | 
			
			
				+          name: 'navigation.playground.TextScreen' 
			 | 
		
	
		
			
			| 
				
			 | 
			
				41
			 | 
			
			
				+        } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				42
			 | 
			
			
				+      } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				43
			 | 
			
			
				+    }); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				44
			 | 
			
			
				+  } 
			 | 
		
	
		
			
			| 
				33
			 | 
			
				45
			 | 
			
			
				 } 
			 | 
		
	
		
			
			| 
				34
			 | 
			
				46
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				35
			 | 
			
				47
			 | 
			
			
				 const styles = { 
			 |