From dc9d1e52a54448ef0b8aeaf0fb7239116f3e3b34 Mon Sep 17 00:00:00 2001 From: devJudicael <161478380+devJudicael@users.noreply.github.com> Date: Sun, 23 Nov 2025 16:09:11 +0000 Subject: [PATCH 1/2] Change default tab bar button from "Pressable" to "PlatformPressable" Change default tab bar button from "Pressable" to "PlatformPressable" - Fix inconsistent documentation between text and TypeScript definitions - TypeScript correctly specifies PlatformPressable as default - Aligns documentation with actual implementation - Prevents confusion for developers using custom tabBarButton --- versioned_docs/version-7.x/bottom-tab-navigator.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/versioned_docs/version-7.x/bottom-tab-navigator.md b/versioned_docs/version-7.x/bottom-tab-navigator.md index 574ffc16b34..859550e60a2 100755 --- a/versioned_docs/version-7.x/bottom-tab-navigator.md +++ b/versioned_docs/version-7.x/bottom-tab-navigator.md @@ -402,7 +402,7 @@ Accessibility label for the tab button. This is read by the screen reader when t #### `tabBarButton` -Function which returns a React element to render as the tab bar button. It wraps the icon and label. Renders `Pressable` by default. +Function which returns a React element to render as the tab bar button. It wraps the icon and label. Renders `PlatformPressable` by default. You can specify a custom implementation here: From ef6e047f9c5d85b8d65dbeaf0f82acffaa7078a3 Mon Sep 17 00:00:00 2001 From: Satyajit Sahoo Date: Fri, 9 Jan 2026 11:58:56 +0100 Subject: [PATCH 2/2] Link to PlatformPressable docs --- versioned_docs/version-7.x/bottom-tab-navigator.md | 2 +- versioned_docs/version-8.x/bottom-tab-navigator.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/versioned_docs/version-7.x/bottom-tab-navigator.md b/versioned_docs/version-7.x/bottom-tab-navigator.md index 4e0ab1de81b..6ed3a6a4e37 100755 --- a/versioned_docs/version-7.x/bottom-tab-navigator.md +++ b/versioned_docs/version-7.x/bottom-tab-navigator.md @@ -340,7 +340,7 @@ Accessibility label for the tab button. This is read by the screen reader when t #### `tabBarButton` -Function which returns a React element to render as the tab bar button. It wraps the icon and label. Renders `PlatformPressable` by default. +Function which returns a React element to render as the tab bar button. It wraps the icon and label. Renders [`PlatformPressable`](elements.md#platformpressable) by default. You can specify a custom implementation here: diff --git a/versioned_docs/version-8.x/bottom-tab-navigator.md b/versioned_docs/version-8.x/bottom-tab-navigator.md index ed0c04c5ba7..274b70a6316 100755 --- a/versioned_docs/version-8.x/bottom-tab-navigator.md +++ b/versioned_docs/version-8.x/bottom-tab-navigator.md @@ -678,7 +678,7 @@ Only supported with `custom` implementation. #### `tabBarButton` -Function which returns a React element to render as the tab bar button. It wraps the icon and label. Renders `Pressable` by default. +Function which returns a React element to render as the tab bar button. It wraps the icon and label. Renders [`PlatformPressable`](elements.md#platformpressable) by default. Only supported with `custom` implementation.