You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<Button title="Go to Home"onPress={() =>navigation.navigate('Home')}/>
122
+
<Button onPress={() =>navigation.navigate('Home')}>Go to Home</Button>
123
123
</View>
124
124
);
125
125
}
@@ -252,12 +252,13 @@ Note that you **cannot** use the `useNavigation` hook inside the `tabBar` since
252
252
functionMyTabBar({ navigation }) {
253
253
return (
254
254
<Button
255
-
title="Go somewhere"
256
255
onPress={() => {
257
256
// Navigate using the `navigation` prop that you received
258
257
navigation.navigate('SomeScreen');
259
258
}}
260
-
/>
259
+
>
260
+
Go somewhere
261
+
</Button>
261
262
);
262
263
}
263
264
```
@@ -384,7 +385,7 @@ import { BlurView } from 'expo-blur';
384
385
>
385
386
```
386
387
387
-
When using `BlurView`, make sure to set `position: 'absolute'` in `tabBarStyle` as well. You'd also need to use [`useBottomTabBarHeight`](#usebottomtabbarheight) to add a bottom padding to your content.
388
+
When using `BlurView`, make sure to set `position: 'absolute'` in `tabBarStyle` as well. You'd also need to use [`useBottomTabBarHeight`](#usebottomtabbarheight) to add bottom padding to your content.
0 commit comments