Skip to content

Commit d5b2ecd

Browse files
committed
Merge branch '@stanleyoos/docs-stack-v7' of github.com:react-navigation/react-navigation.github.io into @stanleyoos/docs-stack-v7
2 parents e6d81b3 + 7ad0a58 commit d5b2ecd

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

versioned_docs/version-7.x/stack-navigator.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -578,18 +578,18 @@ Function which returns a React Element to display custom image in header's back
578578
<img src="/assets/7.x/stack/headerBackImage.png" width="500" alt="Header back image" />
579579

580580
```js
581-
<Stack.Screen
582-
name="NewsFeed"
583-
component={NewsFeedScreen}
584-
options={{
585-
headerBackImage: ({ tintColor }) => (
586-
<Ionicons
587-
tyle={{ color: tintColor }}
588-
size={26}
589-
name="arrow-back-circle"
590-
/>
581+
<Stack.Screen
582+
name="NewsFeed"
583+
component={NewsFeedScreen}
584+
options={{
585+
headerBackImage: ({ tintColor }) => (
586+
<Ionicons
587+
tyle={{ color: tintColor }}
588+
size={26}
589+
name="arrow-back-circle"
590+
/>
591591
),
592-
}}
592+
}}
593593
/>
594594
```
595595

@@ -632,10 +632,9 @@ Example:
632632
headerBackTitleStyle: {
633633
fontSize: 14,
634634
fontFamily: 'Georgia',
635-
}
635+
},
636636
}}
637637
/>
638-
639638
```
640639

641640
### Events

0 commit comments

Comments
 (0)