Skip to content

Commit 724889b

Browse files
authored
Add breaking change headerTruncatedBackTitle to the doc (#1391)
1 parent a930254 commit 724889b

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
@@ -344,7 +344,7 @@ Function which returns a React Element to display custom image in header's back
344344

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

347-
#### `headerTruncatedBackTitle`
347+
#### `headerBackTruncatedTitle`
348348

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

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,8 @@ The previous behavior can be achieved by setting `headerBackButtonDisplayMode` t
268268
/>
269269
```
270270

271+
Similarly, the `headerTruncatedBackTitle` option in Stack Navigator is renamed to `headerBackTruncatedTitle` for consistency.
272+
271273
#### `animationEnabled` option is removed in favor of `animation` option in Stack Navigator
272274

273275
Previously, `animationEnabled: false` was used to disable the animation for the screen transition in Stack Navigator.

0 commit comments

Comments
 (0)