-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
66 lines (57 loc) · 1.38 KB
/
App.js
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/**
* Copyright (c) 2017-present, Viro, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
import React, { Component } from "react";
import { Provider } from "react-redux";
import { store } from "./js/redux/store.js";
import {
AppRegistry,
Text,
View,
StyleSheet,
PixelRatio,
TouchableHighlight
} from "react-native";
import { ViroVRSceneNavigator, ViroARSceneNavigator } from "react-viro";
import Login from "./js/components/Login";
// import ImageUpload from "./js/components/ImagePicker";
/*
TODO: Insert your API key below
*/
export default class ViroSample extends Component {
constructor() {
super();
}
render() {
return (
<Provider store={store}>
<View style={localStyles.outer}>
<View style={localStyles.inner}>
<Login />
{/* <ImageUpload /> */}
</View>
</View>
</Provider>
);
}
}
var localStyles = StyleSheet.create({
outer: {
flex: 1,
flexDirection: "row",
alignItems: "center",
backgroundColor: "white"
},
inner: {
flex: 1,
flexDirection: "column",
alignItems: "center",
backgroundColor: "white"
}
});
module.exports = ViroSample;