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] 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 574ffc16b3..859550e60a 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: