expo-template-tabs 44.0.2 → 44.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/App.tsx CHANGED
@@ -1,5 +1,4 @@
1
1
  import { StatusBar } from 'expo-status-bar';
2
- import React from 'react';
3
2
  import { SafeAreaProvider } from 'react-native-safe-area-context';
4
3
 
5
4
  import useCachedResources from './hooks/useCachedResources';
@@ -1,5 +1,4 @@
1
1
  import * as WebBrowser from 'expo-web-browser';
2
- import React from 'react';
3
2
  import { StyleSheet, TouchableOpacity } from 'react-native';
4
3
 
5
4
  import Colors from '../constants/Colors';
@@ -1,5 +1,3 @@
1
- import * as React from 'react';
2
-
3
1
  import { Text, TextProps } from './Themed';
4
2
 
5
3
  export function MonoText(props: TextProps) {
@@ -3,7 +3,6 @@
3
3
  * https://docs.expo.io/guides/color-schemes/
4
4
  */
5
5
 
6
- import * as React from 'react';
7
6
  import { Text as DefaultText, View as DefaultView } from 'react-native';
8
7
 
9
8
  import Colors from '../constants/Colors';
@@ -1,13 +1,13 @@
1
1
  import { FontAwesome } from '@expo/vector-icons';
2
2
  import * as Font from 'expo-font';
3
3
  import * as SplashScreen from 'expo-splash-screen';
4
- import * as React from 'react';
4
+ import { useEffect, useState } from 'react';
5
5
 
6
6
  export default function useCachedResources() {
7
- const [isLoadingComplete, setLoadingComplete] = React.useState(false);
7
+ const [isLoadingComplete, setLoadingComplete] = useState(false);
8
8
 
9
9
  // Load any resources or data that we need prior to rendering the app
10
- React.useEffect(() => {
10
+ useEffect(() => {
11
11
  async function loadResourcesAndDataAsync() {
12
12
  try {
13
13
  SplashScreen.preventAutoHideAsync();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "expo-template-tabs",
3
3
  "description": "The Tab Navigation project template includes several example screens.",
4
- "version": "44.0.2",
4
+ "version": "44.0.3",
5
5
  "main": "node_modules/expo/AppEntry.js",
6
6
  "scripts": {
7
7
  "start": "expo start",
@@ -19,7 +19,7 @@
19
19
  "@react-navigation/bottom-tabs": "^6.0.5",
20
20
  "@react-navigation/native": "^6.0.2",
21
21
  "@react-navigation/native-stack": "^6.1.0",
22
- "expo": "~44.0.0-beta.1",
22
+ "expo": "~44.0.0-beta.2",
23
23
  "expo-asset": "~8.4.4",
24
24
  "expo-constants": "~13.0.0",
25
25
  "expo-font": "~10.0.4",
@@ -38,7 +38,7 @@
38
38
  "@babel/core": "^7.12.9",
39
39
  "@types/react": "~17.0.21",
40
40
  "@types/react-native": "~0.64.12",
41
- "jest-expo": "~44.0.0-beta.0",
41
+ "jest-expo": "~44.0.0",
42
42
  "react-test-renderer": "17.0.1",
43
43
  "typescript": "~4.3.5"
44
44
  }
@@ -1,5 +1,4 @@
1
1
  import { StatusBar } from 'expo-status-bar';
2
- import * as React from 'react';
3
2
  import { Platform, StyleSheet } from 'react-native';
4
3
 
5
4
  import EditScreenInfo from '../components/EditScreenInfo';
@@ -1,7 +1,6 @@
1
- import * as React from 'react';
2
1
  import { StyleSheet, TouchableOpacity } from 'react-native';
3
- import { Text, View } from '../components/Themed';
4
2
 
3
+ import { Text, View } from '../components/Themed';
5
4
  import { RootStackScreenProps } from '../types';
6
5
 
7
6
  export default function NotFoundScreen({ navigation }: RootStackScreenProps<'NotFound'>) {
@@ -1,4 +1,3 @@
1
- import * as React from 'react';
2
1
  import { StyleSheet } from 'react-native';
3
2
 
4
3
  import EditScreenInfo from '../components/EditScreenInfo';
@@ -1,4 +1,3 @@
1
- import * as React from 'react';
2
1
  import { StyleSheet } from 'react-native';
3
2
 
4
3
  import EditScreenInfo from '../components/EditScreenInfo';