chore: upgrade expo to stable version

This commit is contained in:
Satyajit Sahoo
2021-05-09 06:12:08 +02:00
parent 8f2b95ca97
commit 7809bc0650
5 changed files with 257 additions and 184 deletions

View File

@@ -1,5 +1,4 @@
import * as React from 'react';
import { Platform } from 'react-native';
import MaterialCommunityIcons from 'react-native-vector-icons/MaterialCommunityIcons';
import {
getFocusedRouteNameFromRoute,
@@ -9,7 +8,6 @@ import {
import type { StackScreenProps } from '@react-navigation/stack';
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs';
import { HeaderBackButton } from '@react-navigation/elements';
import TouchableBounce from '../Shared/TouchableBounce';
import Albums from '../Shared/Albums';
import Contacts from '../Shared/Contacts';
import Chat from '../Shared/Chat';
@@ -51,10 +49,6 @@ export default function BottomTabsScreen({
headerLeft: (props) => (
<HeaderBackButton {...props} onPress={navigation.goBack} />
),
tabBarButton:
Platform.OS === 'web'
? undefined
: (props) => <TouchableBounce {...props} />,
}}
>
<BottomTabs.Screen

View File

@@ -1,4 +0,0 @@
// @ts-expect-error: there are no type definitions for deep imports
import TouchableBounce from 'react-native/Libraries/Components/Touchable/TouchableBounce';
export default TouchableBounce;

View File

@@ -1,3 +0,0 @@
import { TouchableOpacity } from 'react-native';
export default TouchableOpacity;