Put this code on the page where you want to return the button
static navigationOptions = {
{navigation} = this.props
headerTitle: <YourTitleComponent/>,
headerRight: (
<YourClickableComponentWithTheImage
onPress={() => navigation.navigate('toTheScreenYouWant'}
/>
),
};
You can also use HeaderLeft and change the title component to a simple String
source
share