Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React, { Component } from 'react';
- import 'aframe';
- import img from "./thumbnail.png";
- // css
- import './Obj.css';
- class Obj extends Component {
- constructor(props) {
- super(props);
- }
- render() {
- return(
- <a-scene rotation="0 -130 0" >
- <a-sky src={img} rotation="0 -130 0" className="test"/>
- </a-scene>
- )
- }
- }
- export default Obj;
Add Comment
Please, Sign In to add comment