Skip to content

Commit 6b3f225

Browse files
committed
Document that badge is iOS 26+ only
1 parent 70ffd67 commit 6b3f225

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

versioned_docs/version-7.x/native-stack-navigator.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1505,7 +1505,7 @@ const MyView = () => {
15051505

15061506
The [`unstable_headerLeftItems`](#unstable_headerleftitems) and [`unstable_headerRightItems`](#unstable_headerrightitems) options allow you to add header items to the left and right side of the header respectively. This items can show native buttons, menus or custom React elements.
15071507

1508-
The header right items can also be collapsed into an overflow menu by the system when there is not enough space to show all items. Note that custom elements (with `type: 'custom'`) won't be collapsed into the overflow menu.
1508+
On iOS 26+, the header right items can also be collapsed into an overflow menu by the system when there is not enough space to show all items. Note that custom elements (with `type: 'custom'`) won't be collapsed into the overflow menu.
15091509

15101510
<img src="/assets/header-items/header-items.png" width="300" alt="Header items" />
15111511

@@ -1537,7 +1537,7 @@ Common properties:
15371537
- `hidesSharedBackground` (iOS 26+): Whether the background this item may share with other items should be hidden. Setting this to `true` hides the liquid glass background.
15381538
- `sharesBackground` (iOS 26+): Whether this item can share a background with other items.
15391539
- `identifier` (iOS 26+) - An identifier used to match items across transitions.
1540-
- `badge`: An optional badge to display alongside the item. Supported properties:
1540+
- `badge` (iOS 26+): An optional badge to display alongside the item. Supported properties:
15411541
- `value`: The value to display in the badge. It can be a string or a number.
15421542
- `style`: Style object for the badge. Supported properties:
15431543
- `fontFamily`

0 commit comments

Comments
 (0)