From aa3df5be74cf0a98961e57e405cb7b10dd81f286 Mon Sep 17 00:00:00 2001 From: Jon Shamir Date: Sun, 5 Jan 2025 10:25:17 +0200 Subject: [PATCH 1/2] Remove duplicate paragraph --- versioned_docs/version-7.x/headers.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/versioned_docs/version-7.x/headers.md b/versioned_docs/version-7.x/headers.md index 9bfd242ea5..192039244f 100755 --- a/versioned_docs/version-7.x/headers.md +++ b/versioned_docs/version-7.x/headers.md @@ -673,15 +673,14 @@ export default function App() { ![Header custom title](/assets/headers/header-custom-title.png) -You might be wondering, why `headerTitle` when we provide a component and not `title`, like before? The reason is that `headerTitle` is a property that is specific to stack navigators, the `headerTitle` defaults to a `Text` component that displays the `title`. - - - :::note You might be wondering, why `headerTitle` when we provide a component and not `title`, like before? The reason is that `headerTitle` is a property that is specific to headers, whereas `title` will be used for tab bars, drawers etc. as well. The `headerTitle` defaults to a `Text` component that displays the `title`. ::: + + + ## Additional configuration From 936d2c00cd53a13c7068e18b001e9ef4ec7c2658 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Sun, 5 Jan 2025 08:26:58 +0000 Subject: [PATCH 2/2] [autofix.ci] apply automated fixes --- versioned_docs/version-7.x/headers.md | 1 - 1 file changed, 1 deletion(-) diff --git a/versioned_docs/version-7.x/headers.md b/versioned_docs/version-7.x/headers.md index 192039244f..238137892e 100755 --- a/versioned_docs/version-7.x/headers.md +++ b/versioned_docs/version-7.x/headers.md @@ -681,7 +681,6 @@ You might be wondering, why `headerTitle` when we provide a component and not `t - ## Additional configuration You can read the full list of available `options` for screens inside of a native stack navigator in the [`createNativeStackNavigator` reference](native-stack-navigator.md#options).