Skip to content

Commit dc9d1e5

Browse files
authored
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
1 parent f774b50 commit dc9d1e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

versioned_docs/version-7.x/bottom-tab-navigator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ Accessibility label for the tab button. This is read by the screen reader when t
402402

403403
#### `tabBarButton`
404404

405-
Function which returns a React element to render as the tab bar button. It wraps the icon and label. Renders `Pressable` by default.
405+
Function which returns a React element to render as the tab bar button. It wraps the icon and label. Renders `PlatformPressable` by default.
406406

407407
You can specify a custom implementation here:
408408

0 commit comments

Comments
 (0)