-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
41 lines (38 loc) · 855 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
import React from 'react';
import { View, StyleSheet, Dimensions } from 'react-native';
import TopContent from './components/top/TopContent';
import MainContent from './components/main/MainContent';
import BottomContent from './components/bottom/BottomContent';
const App = () => {
return (
<View style={styles.content}>
<View style={styles.top}>
<TopContent textStyle={styles.text} />
</View>
<View style={styles.main}>
<MainContent textStyle={styles.text} />
</View>
<View style={styles.bottom}>
<BottomContent textStyle={styles.text} />
</View>
</View>
);
};
const styles = StyleSheet.create({
content: {
flex: 1,
},
top: {
flex: 0.1,
},
main: {
flex: 0.8,
},
bottom: {
flex: 0.1,
},
text: {
color: '#FFFFFF',
},
});
export default App;