import React from "react" import { StyleSheet, View, TouchableHighlight, Image } from "react-native" import { ViroARSceneNavigator, ViroARScene, ViroARPlane, ViroBox, ViroNode, ViroAmbientLight, ViroSpotLight, Viro3DObject, ViroSurface, } from "react-viro" import autobind from "autobind-decorator" import backImage from "./images/back.png" const styles = { buttons: { height: 80, width: 80, }, } const shapes = { hardhat: { shape: require("./models/hardhat_obj.obj"), materials: [require("./models/hardhat.mtl")], }, question: { shape: require("./models/question_obj.obj"), materials: [require("./models/question.mtl")], }, clipboard: { shape: require("./models/clipboard_obj.obj"), materials: [require("./models/clipboard.mtl")], }, } class WorkItemSceneAR extends React.Component { constructor(props) { super(props) this.state = { position: [0, 0.2, 0], scale: [0.2, 0.2, 0.2], } } render() { return ( ) } } export class ARViewer extends React.Component { constructor(props) { super(props) } @autobind _handlePress() { this.props.history.replace("/") } render() { return ( ) } }