Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add breaking-change headerTruncatedBackTitle to the doc #1391

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading