Regions app working in RN

This commit is contained in:
Federico Kereki
2018-08-29 22:14:11 -03:00
parent 01b438322a
commit 43945d111c
14 changed files with 434 additions and 31 deletions
+27
View File
@@ -0,0 +1,27 @@
/* @flow */
import React from "react";
import { StyleSheet, Text, View } from "react-native";
export default class App extends React.Component<> {
render() {
return (
<View style={styles.container}>
<Text>Open up App.js to start working on your app!</Text>
<Text>Changes you make will automatically reload.</Text>
<Text>Shake your phone to open the developer menu.</Text>
</View>
);
}
}
const white: string = "#fff";
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: white,
alignItems: "center",
justifyContent: "center"
}
});