-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathApp.js
36 lines (35 loc) · 1.01 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
import React from 'react';
import LifecylceComponent from './src/components/ClassComponent';
import {StyleSheet, View} from 'react-native';
import FunctionalComponent from './src/components/FunctionalComponent';
import BasicComponents from './src/components/BasicComponents';
import {SafeAreaProvider} from 'react-native-safe-area-context';
import Hooks from './src/Hooks/Hooks';
import Javascript from './src/JS/Javascript';
import FinalHomeWork from './src/FinalHomeWork';
const App = () => {
return (
<SafeAreaProvider>
<View style={styles.container}>
{/* <LifecylceComponent /> */}
{/* <FunctionalComponent /> */}
{/* <View style={styles.flex2} /> */}
{/* <BasicComponents /> */}
{/* <Hooks /> */}
{/* <Javascript /> */}
<FinalHomeWork />
</View>
</SafeAreaProvider>
);
};
const styles = StyleSheet.create({
container: {
flex: 1,
flexDirection: 'row',
},
flex2: {
backgroundColor: 'green',
flex: 2,
},
});
export default App;