Skip to content

Commit

Permalink
add breaking change headerTruncatedBackTitle to the doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Freddy03h committed Dec 30, 2024
1 parent db23292 commit 30c8107
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion versioned_docs/version-7.x/stack-navigator.md
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ Function which returns a React Element to display custom image in header's back

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

#### `headerTruncatedBackTitle`
#### `headerBackTruncatedTitle`

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

Expand Down
2 changes: 2 additions & 0 deletions versioned_docs/version-7.x/upgrading-from-6.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,8 @@ The previous behavior can be achieved by setting `headerBackButtonDisplayMode` t
/>
```
Similarly, the `headerTruncatedBackTitle` option in Stack Navigator is renamed to `headerBackTruncatedTitle` for consistency.
#### `animationEnabled` option is removed in favor of `animation` option in Stack Navigator
Previously, `animationEnabled: false` was used to disable the animation for the screen transition in Stack Navigator.
Expand Down

0 comments on commit 30c8107

Please sign in to comment.