| 
									
										
										
										
											2020-03-20 18:28:22 +00:00
										 |  |  | import React, { Component } from 'react' | 
					
						
							|  |  |  | import { StyleSheet, Text, View } from 'react-native' | 
					
						
							|  |  |  | export const theme = require('./../utils/theme.json') | 
					
						
							| 
									
										
										
										
											2019-06-16 13:09:54 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-20 18:28:22 +00:00
										 |  |  | export default class BaseScreen extends Component { | 
					
						
							| 
									
										
										
										
											2019-06-16 13:09:54 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-20 18:28:22 +00:00
										 |  |  |      constructor(props, needToCloseDrawer) { | 
					
						
							|  |  |  |           super(props) | 
					
						
							|  |  |  |           if (needToCloseDrawer) { | 
					
						
							|  |  |  |                /*  this.props.navigator.toggleDrawer({ | 
					
						
							|  |  |  |                      side: 'left', // the side of the drawer since you can have two, 'left' / 'right'
 | 
					
						
							|  |  |  |                      to: 'close' // optional, 'open' = open the drawer, 'closed' = close it, missing = the opposite of current state
 | 
					
						
							|  |  |  |                  });*/ | 
					
						
							|  |  |  |           } | 
					
						
							| 
									
										
										
										
											2019-06-16 13:09:54 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-20 18:28:22 +00:00
										 |  |  |      } | 
					
						
							| 
									
										
										
										
											2019-06-16 13:09:54 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | } |