-
Notifications
You must be signed in to change notification settings - Fork 6
/
App.js
45 lines (43 loc) · 1.25 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
37
38
39
40
41
42
43
44
45
import React from 'react';
import { StyleSheet, Text, View,Image } from 'react-native';
import Header from './components/Header';
import Footer from './components/Footer';
// import { Image } from 'react-native';
import RouterComponent from './Router';
export default class App extends React.Component {
render() {
return (
<View >
<Header style={styles.container}>
<Image resizeMode='cover'
style={{ width: 100, height: 30, marginTop: 29, }}
source={require('./assets/headerImage2.png')}
/>
<Image resizeMode='cover'
style={{width:200, height: 30,marginTop:29, }}
source={require('./assets/headerImage1.png')}
/>
</Header>
<Header>
<Text>We make it easy to complete your window installation projects</Text>
</Header>
<Footer>
<Image
resizeMode='stretch'
style={{width:200,height:200}}
source={require('./assets/footer.png')}
/>
</Footer>
</View>
);
}
}
const styles = StyleSheet.create({
container: {
display:'flex',
flex: 1,
backgroundColor: '#000',
flexDirection:'row',
justifyContent:'space-around'
},
});