Skip to content

Commit 70c4200

Browse files
committed
docs: Applied code review suggestions
1 parent 8a08603 commit 70c4200

File tree

7 files changed

+17
-4
lines changed

7 files changed

+17
-4
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

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

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

568568
```js
569+
<Stack.Screen
570+
name="NewsFeed"
571+
component={NewsFeedScreen}
572+
options={{
569573
headerBackImage: ({ tintColor }) => (
570-
<Ionicons
574+
<Ionicons
571575
tyle={{ color: tintColor }}
572576
size={26}
573577
name="arrow-back-circle"
574578
/>
575-
),
579+
),
580+
}}
581+
/>
576582
```
577583

578584
#### `headerBackTitle`
@@ -607,10 +613,17 @@ Style object for the back title.
607613
Example:
608614

609615
```js
610-
headerBackTitleStyle: {
616+
<Stack.Screen
617+
name="NewsFeed"
618+
component={NewsFeedScreen}
619+
options={{
620+
headerBackTitleStyle: {
611621
fontSize: 14,
612622
fontFamily: 'Georgia',
613-
},
623+
}
624+
}}
625+
/>
626+
614627
```
615628

616629
### Events

0 commit comments

Comments
 (0)