-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathApp.js
More file actions
57 lines (49 loc) · 1.94 KB
/
App.js
File metadata and controls
57 lines (49 loc) · 1.94 KB
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
47
48
49
50
51
52
53
54
55
56
57
//import liraries
import React, { Component } from 'react';
import { View, StyleSheet, Text, Image } from 'react-native';
import SplashScreen from 'react-native-splash-screen';
import BigCard from './app/components/BigCard';
import CustomText from './app/components/CustomText'
import DetailCard from './app/components/DetailCard';
import HorizontalList from './app/components/HorizontalList';
import ImageText from './app/components/ImageText';
import PreparationCard from './app/components/PreparationCard';
import SmallCard from './app/components/SmallCard';
import TopButton from './app/components/TopButton';
import DetailScreen from './app/screens/DetailScreen';
import Home from './app/screens/Home';
import {NavigationContainer} from '@react-navigation/native'
import AppNavigator from './app/navigation/AppNavigator';
import CustomProgressBar from './app/components/CustomProgressBar';
import CustomProgressBar2 from './app/components/CustomProgressBar2';
import TopBar from './app/components/TopBar';
// create a component
class App extends Component {
componentDidMount(){
SplashScreen.hide()
}
render() {
return (
// <View style={styles.container}>
// {/* <SmallCard/> */}
// {/* <BigCard/> */}
// {/* <HorizontalList/> */}
// {/* <PreparationCard/> */}
// {/* <DetailCard title="Ingredients" style={{backgroundColor:"white"}} maxLines={8}/>
// <DetailCard title="Instructions" style={{backgroundColor:"#F6DEDE"}} maxLines={12}/> */}
// {/* <TopButton imageName="arrow-back"/>
// <TopButton imageName="favorite-border"/>
// <TopButton imageName="favorite"/> */}
// {/* <Home/> */}
// {/* <DetailScreen/> */}
// </View>
<NavigationContainer>
<AppNavigator/>
</NavigationContainer>
// <CustomProgressBar2 visibilty={true}/>
//<TopBar/>
);
}
}
//make this component available to the app
export default App;