File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/react-navigation/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ export type NativeBottomTabNavigationOptions = {
9595 /**
9696 * Role for the tab. (iOS only)
9797 */
98- tabBarRole ?: TabRole ;
98+ role ?: TabRole ;
9999
100100 /**
101101 * Whether inactive screens should be suspended from re-rendering. Defaults to `false`.
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ export default function NativeBottomTabView({
4949 getTestID = { ( { route } ) =>
5050 descriptors [ route . key ] ?. options . tabBarButtonTestID
5151 }
52- getRole = { ( { route } ) => descriptors [ route . key ] ?. options . tabBarRole }
52+ getRole = { ( { route } ) => descriptors [ route . key ] ?. options . role }
5353 tabBar = {
5454 tabBar ? ( ) => tabBar ( { state, descriptors, navigation } ) : undefined
5555 }
You can’t perform that action at this time.
0 commit comments