Skip to content

Commit 89cc4b8

Browse files
chore: Native Stack doc's - headerBackButtonMenuEnabled (#1352)
* chore: Created new assets folder, added video for 'headerBackButtonMenuEnabled' option * chore(docs v7): Added screenshots for headerBackTitle * chore: moved all files to native-stack folder * chore(docs): Updated images for header title * chore(docs): Added code example for headerBackTitleStyle * [autofix.ci] apply automated fixes * chore(docs): Deleted unused line * chore(docs): Updated code example --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent cd5fe4b commit 89cc4b8

File tree

4 files changed

+15
-0
lines changed

4 files changed

+15
-0
lines changed
Loading
Loading
Loading

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ Requires `react-native-screens` version >=3.3.0.
166166

167167
Only supported on iOS.
168168

169+
<img src="/assets/7.x/native-stack/headerBackButtonMenuEnabled.png" width="500" alt="Header back button menu enabled" />
170+
169171
#### `headerBackVisible`
170172

171173
Whether the back button is visible in the header. You can use it to show a back button alongside `headerLeft` if you have specified it.
@@ -178,6 +180,8 @@ Title string used by the back button on iOS. Defaults to the previous scene's ti
178180

179181
Only supported on iOS.
180182

183+
<img src="/assets/7.x/native-stack/headerBackTitle.jpeg" width="500" alt="Header back title" />
184+
181185
#### `headerBackTitleVisible`
182186

183187
Whether the back button title should be visible or not.
@@ -193,6 +197,17 @@ Style object for header back title. Supported properties:
193197

194198
Only supported on iOS.
195199

200+
<img src="/assets/7.x/native-stack/headerBackTitleStyle.png" width="500" alt="Header back title style" />
201+
202+
Example:
203+
204+
```js
205+
headerBackTitleStyle: {
206+
fontSize: 14,
207+
fontFamily: 'Georgia',
208+
},
209+
```
210+
196211
#### `headerBackImageSource`
197212

198213
Image to display in the header as the icon in the back button. Defaults to back icon image for the platform

0 commit comments

Comments
 (0)