-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
27 lines (26 loc) · 783 Bytes
/
App.js
File metadata and controls
27 lines (26 loc) · 783 Bytes
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
import React, { Component } from 'react';
import {
Text,
View,
ImageBackground,
StatusBar
} from 'react-native';
import styles from './src/css/styles';
export default class App extends Component {
render() {
return (
<View style={styles.MainContainer}>
<StatusBar
backgroundColor="#117864"
barStyle="light-content"
/>
<Text style={styles.textHeader}>React Native Codility</Text>
<View style={{ width: '100%', height: 1, backgroundColor: '#117864' }} />
<ImageBackground resizeMode="center"
source={{ uri: 'https://github.com/ReactNativeCodility/GeoLocation/blob/master/design/enable.png?raw=true' }}
style={styles.imageStyle} >
</ImageBackground>
</View>
);
}
}