hide view menu bar on react code example
Example 1: get rid of header bar react native
navigationOptions: { headerShown: false }
Example 2: how to hide title bar react-navigation
<Root.Screen options={{headerShown: false}}/>
navigationOptions: { headerShown: false }
<Root.Screen options={{headerShown: false}}/>