2017-12-05 05:34:37 +00:00
|
|
|
/**
|
|
|
|
* Sample React Native App
|
|
|
|
* https://github.com/facebook/react-native
|
2019-08-29 22:35:01 +00:00
|
|
|
*
|
|
|
|
* @format
|
2017-12-05 05:34:37 +00:00
|
|
|
* @flow
|
|
|
|
*/
|
2016-02-22 21:06:06 +00:00
|
|
|
|
2019-08-29 22:35:01 +00:00
|
|
|
import React, {Component} from 'react';
|
|
|
|
import {StyleSheet, Text, View} from 'react-native';
|
2016-02-22 20:54:52 +00:00
|
|
|
|
2016-02-22 21:06:06 +00:00
|
|
|
import Config from 'react-native-config';
|
|
|
|
|
2019-08-29 22:35:01 +00:00
|
|
|
export default class App extends Component {
|
2016-02-22 20:54:52 +00:00
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<View style={styles.container}>
|
2019-08-29 22:35:01 +00:00
|
|
|
<Text style={styles.text}>API_URL={Config.API_URL}</Text>
|
2016-02-22 20:54:52 +00:00
|
|
|
</View>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
const styles = StyleSheet.create({
|
|
|
|
container: {
|
|
|
|
flex: 1,
|
|
|
|
justifyContent: 'center',
|
|
|
|
alignItems: 'center',
|
|
|
|
backgroundColor: '#F5FCFF',
|
|
|
|
},
|
2016-02-22 21:06:06 +00:00
|
|
|
text: {
|
2016-02-22 20:54:52 +00:00
|
|
|
fontSize: 20,
|
|
|
|
textAlign: 'center',
|
|
|
|
margin: 10,
|
|
|
|
},
|
|
|
|
});
|