I\'m using DrawerNavigator and I have 3 pages: Router page, mainScreen and a photos page, I maked a header navbar are
DrawerNavigator
Router page
mainScreen
photos page
If you use TouchableOpacity/Height in your child element, pass it this.props.onPress like this:
this.props.onPress
Then call the onPress function in your parent component like this: