-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
32 lines (28 loc) · 891 Bytes
/
App.js
File metadata and controls
32 lines (28 loc) · 891 Bytes
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
import React, {useState} from 'react';
import {StyleSheet} from 'react-native';
import {SafeAreaView} from 'react-native-safe-area-context';
import Home from './src/components/Home';
import Sample from './src/components/Sample';
import {GestureHandlerRootView} from 'react-native-gesture-handler';
import Navigation from './src/components/Navigation';
import {NavigationContainer} from '@react-navigation/native';
const App = () => {
// const [regions, setRegions] = useState([]);
return (
<NavigationContainer>
<GestureHandlerRootView style={styles.container}>
<SafeAreaView style={{flex: 1}}>
<Navigation />
{/* <Sample /> */}
</SafeAreaView>
</GestureHandlerRootView>
</NavigationContainer>
);
};
const styles = StyleSheet.create({
container: {
flex: 1,
// backgroundColor: 'green',
},
});
export default App;