-
Notifications
You must be signed in to change notification settings - Fork 5
/
App.js
46 lines (38 loc) · 1019 Bytes
/
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
39
40
41
42
43
44
45
46
import React from 'react';
import {
SafeAreaView,
StatusBar,
ScrollView,
StyleSheet,
} from 'react-native';
import TopNavigation from './src/components/topNavigation';
import SearchBar from './src/components/searchBar';
import CategoryList from './src/components/categoryList';
import PopularEatriesList from './src/components/popularEatriesList';
import TrendingList from './src/components/trendingList';
const App = () => {
return (
<>
<StatusBar hidden />
<SafeAreaView style={styles.fullScreen}>
<ScrollView
showsVerticalScrollIndicator={false}
contentInsetAdjustmentBehavior="automatic">
<TopNavigation/>
<SearchBar/>
<CategoryList/>
<PopularEatriesList/>
<TrendingList/>
</ScrollView>
</SafeAreaView>
</>
);
};
const styles = StyleSheet.create({
fullScreen: {
width: '100%',
height: '100%',
backgroundColor: '#fff',
},
});
export default App;