sanjay555

aframe.js

Feb 15th, 2018
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import React, { Component } from 'react';
  2. import 'aframe';
  3. import img from "./thumbnail.png";
  4.  
  5. // css
  6. import './Obj.css';
  7.  
  8. class Obj extends Component {
  9.   constructor(props) {
  10.     super(props);
  11.   }
  12.   render() {
  13.     return(
  14.       <a-scene rotation="0 -130 0" >      
  15.         <a-sky src={img} rotation="0 -130 0" className="test"/>
  16.       </a-scene>    
  17.     )
  18.   }
  19. }
  20.  
  21. export default Obj;
Add Comment
Please, Sign In to add comment