-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathApp.js
38 lines (35 loc) · 1.02 KB
/
App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
"use strict";
exports.__esModule = true;
var expo_status_bar_1 = require("expo-status-bar");
var react_native_1 = require("react-native");
function App() {
return (<react_native_1.View style={styles.container}>
<react_native_1.Text>Start of TU APP. This is our senior project for 2022-2023.</react_native_1.Text>
<expo_status_bar_1.StatusBar style="auto"/>
</react_native_1.View>);
}
// This will contain the map components
function MapView() {
return (
<MapView
initialRegion={{
latitude: 37.78825,
longitude: -122.4324,
latitudeDelta: 0.0922,
longitudeDelta: 0.0421,
}}
/>
);
}
const Tab = createBottomTabNavigator();
export default function App() {
return (
<NavigationContainer>
<Tab.Navigator>
<Tab.Screen name="Home" component={HomeScreen} />
<Tab.Screen name="Settings" component={SettingsScreen} />
<Tab.Screen name="Map" component={MapView} />
</Tab.Navigator>
</NavigationContainer>
);
}