how to show header in react native navigation code example
Example: react native navigation header Right
screenOptions={({route, navigation}) => ({ // transform screenOptions to a function
headerRight: () => (
<Button
onPress={() => navigation.navigate('Home');
/>
)
})}