| 
				
			 | 
			
			
				@@ -36,6 +36,10 @@ class NavigationScreen extends React.Component { 
			 | 
		
	
		
			
			| 
				36
			 | 
			
				36
			 | 
			
			
				         <Button label='External Component' testID={EXTERNAL_COMP_BTN} onPress={this.externalComponent} /> 
			 | 
		
	
		
			
			| 
				37
			 | 
			
				37
			 | 
			
			
				         <Button label='Static Events' testID={SHOW_STATIC_EVENTS_SCREEN} onPress={this.pushStaticEventsScreen} /> 
			 | 
		
	
		
			
			| 
				38
			 | 
			
				38
			 | 
			
			
				         <Button label='Orientation' testID={SHOW_ORIENTATION_SCREEN} onPress={this.orientation} /> 
			 | 
		
	
		
			
			| 
				
			 | 
			
				39
			 | 
			
			
				+        <Navigation.TouchablePreview 
			 | 
		
	
		
			
			| 
				
			 | 
			
				40
			 | 
			
			
				+          touchableComponent={Button} 
			 | 
		
	
		
			
			| 
				
			 | 
			
				41
			 | 
			
			
				+          onPressIn={this.preview} 
			 | 
		
	
		
			
			| 
				
			 | 
			
				42
			 | 
			
			
				+          label='Preview' /> 
			 | 
		
	
		
			
			| 
				39
			 | 
			
				43
			 | 
			
			
				       </Root> 
			 | 
		
	
		
			
			| 
				40
			 | 
			
				44
			 | 
			
			
				     ); 
			 | 
		
	
		
			
			| 
				41
			 | 
			
				45
			 | 
			
			
				   } 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -45,6 +49,36 @@ class NavigationScreen extends React.Component { 
			 | 
		
	
		
			
			| 
				45
			 | 
			
				49
			 | 
			
			
				   externalComponent = () => Navigation.showModal(Screens.ExternalComponent); 
			 | 
		
	
		
			
			| 
				46
			 | 
			
				50
			 | 
			
			
				   pushStaticEventsScreen = () => Navigation.showModal(Screens.EventsScreen) 
			 | 
		
	
		
			
			| 
				47
			 | 
			
				51
			 | 
			
			
				   orientation = () => Navigation.showModal(Screens.Orientation); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				52
			 | 
			
			
				+  preview = ({ reactTag }) => { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				53
			 | 
			
			
				+    Navigation.push(this.props.componentId, { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				54
			 | 
			
			
				+      component: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				55
			 | 
			
			
				+        name: Screens.Pushed, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				56
			 | 
			
			
				+        options: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				57
			 | 
			
			
				+          animations: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				58
			 | 
			
			
				+            push: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				59
			 | 
			
			
				+              enabled: false 
			 | 
		
	
		
			
			| 
				
			 | 
			
				60
			 | 
			
			
				+            } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				61
			 | 
			
			
				+          }, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				62
			 | 
			
			
				+          preview: { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				63
			 | 
			
			
				+            reactTag: reactTag, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				64
			 | 
			
			
				+            height: 300, 
			 | 
		
	
		
			
			| 
				
			 | 
			
				65
			 | 
			
			
				+            actions: [{ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				66
			 | 
			
			
				+              id: 'action-cancel', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				67
			 | 
			
			
				+              title: 'Cancel' 
			 | 
		
	
		
			
			| 
				
			 | 
			
				68
			 | 
			
			
				+            }, { 
			 | 
		
	
		
			
			| 
				
			 | 
			
				69
			 | 
			
			
				+              id: 'action-delete', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				70
			 | 
			
			
				+              title: 'Delete', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				71
			 | 
			
			
				+              actions: [{ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				72
			 | 
			
			
				+                id: 'action-delete-sure', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				73
			 | 
			
			
				+                title: 'Are you sure?', 
			 | 
		
	
		
			
			| 
				
			 | 
			
				74
			 | 
			
			
				+                style: 'destructive' 
			 | 
		
	
		
			
			| 
				
			 | 
			
				75
			 | 
			
			
				+              }] 
			 | 
		
	
		
			
			| 
				
			 | 
			
				76
			 | 
			
			
				+            }] 
			 | 
		
	
		
			
			| 
				
			 | 
			
				77
			 | 
			
			
				+          } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				78
			 | 
			
			
				+        } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				79
			 | 
			
			
				+      } 
			 | 
		
	
		
			
			| 
				
			 | 
			
				80
			 | 
			
			
				+    }); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				81
			 | 
			
			
				+  } 
			 | 
		
	
		
			
			| 
				48
			 | 
			
				82
			 | 
			
			
				 } 
			 | 
		
	
		
			
			| 
				49
			 | 
			
				83
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				50
			 | 
			
				84
			 | 
			
			
				 module.exports = NavigationScreen; 
			 |