Skip to content

Commit 6748826

Browse files
Fix invalid link in documentation for stack-navigator (#977)
* Fix invalid link in documentation for stack-navigator * Change to use 5.x branch
1 parent df27d56 commit 6748826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

versioned_docs/version-5.x/stack-navigator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ Function which returns a React Element to display on the right side of the heade
222222

223223
#### `headerLeft`
224224

225-
Function which returns a React Element to display on the left side of the header. When a function is used, it receives a number of arguments when rendered (`onPress`, `label`, `labelStyle` and more - check [types.tsx](https://github.com/react-navigation/react-navigation/blob/main/packages/stack/src/types.tsx#L373-L441) for the complete list).
225+
Function which returns a React Element to display on the left side of the header. When a function is used, it receives a number of arguments when rendered (`onPress`, `label`, `labelStyle` and more - check [types.tsx](https://github.com/react-navigation/react-navigation/blob/5.x/packages/stack/src/types.tsx#L377-L445) for the complete list).
226226

227227
By default, `HeaderBackButton` component is used. You can implement it and use it to override the back button press, for example:
228228

0 commit comments

Comments
 (0)