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