Skip to content

Commit 30c8107

Browse files
committedDec 30, 2024
add breaking change headerTruncatedBackTitle to the doc
1 parent db23292 commit 30c8107

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
 

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ Function which returns a React Element to display custom image in header's back
435435

436436
Title string used by the back button on iOS. Defaults to the previous scene's title. Use `headerBackButtonDisplayMode` to customize the behavior.
437437

438-
#### `headerTruncatedBackTitle`
438+
#### `headerBackTruncatedTitle`
439439

440440
Title string used by the back button when `headerBackTitle` doesn't fit on the screen. `"Back"` by default.
441441

‎versioned_docs/version-7.x/upgrading-from-6.x.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,8 @@ The previous behavior can be achieved by setting `headerBackButtonDisplayMode` t
258258
/>
259259
```
260260
261+
Similarly, the `headerTruncatedBackTitle` option in Stack Navigator is renamed to `headerBackTruncatedTitle` for consistency.
262+
261263
#### `animationEnabled` option is removed in favor of `animation` option in Stack Navigator
262264
263265
Previously, `animationEnabled: false` was used to disable the animation for the screen transition in Stack Navigator.

0 commit comments

Comments
 (0)