diff options
| author | Samarth Agarwal <samarth.agarwal@mail.utoronto.ca> | 2019-02-16 22:57:36 +0000 |
|---|---|---|
| committer | Samarth Agarwal <samarth.agarwal@mail.utoronto.ca> | 2019-02-16 22:57:36 +0000 |
| commit | 23349dc896371a840f809bf5e7145d0a22f45285 (patch) | |
| tree | ed19cf50361ecd81680bfc56488d93ef473de01e | |
| parent | a8af7f452caa0083e93679f561cc0f4162ba69f0 (diff) | |
Created a basic Hello World template as a starting point for all of our React Native work.
| -rw-r--r-- | App.js | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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> + ); + } +} |
