aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamarth Agarwal <samarth.agarwal@mail.utoronto.ca>2019-02-16 22:57:36 +0000
committerSamarth Agarwal <samarth.agarwal@mail.utoronto.ca>2019-02-16 22:57:36 +0000
commit23349dc896371a840f809bf5e7145d0a22f45285 (patch)
treeed19cf50361ecd81680bfc56488d93ef473de01e
parenta8af7f452caa0083e93679f561cc0f4162ba69f0 (diff)
Created a basic Hello World template as a starting point for all of our React Native work.
-rw-r--r--App.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/App.js b/App.js
new file mode 100644
index 0000000..80a780e
--- /dev/null
+++ b/App.js
@@ -0,0 +1,12 @@
+import React, { Component } from 'react';
+import { Text, View } from 'react-native';
+
+export default class HelloWorldApp extends Component {
+ render() {
+ return (
+ <View style={{ flex: 1, justifyContent: "center", alignItems: "center" }}>
+ <Text>Hello world!</Text>
+ </View>
+ );
+ }
+}