Skip to content
Open
Changes from 1 commit
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
Next Next commit
Remove duplicate paragraph
  • Loading branch information
jonshamir authored Jan 5, 2025
commit aa3df5be74cf0a98961e57e405cb7b10dd81f286
7 changes: 3 additions & 4 deletions versioned_docs/version-7.x/headers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
</TabItem>
</Tabs>

:::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`.

:::
</TabItem>
</Tabs>


## Additional configuration

Expand Down
Loading