import {getProject} from '@theatre/core' import ReactDOM from 'react-dom' import React from 'react' import {Canvas} from '@react-three/fiber' import studio from '@theatre/studio' import {editable as e, SheetProvider} from '@theatre/r3f' import extension from '@theatre/r3f/dist/extension' if (process.env.NODE_ENV === 'development' && typeof window !== 'undefined') { studio.extend(extension) studio.initialize({usePersistentStorage: false}) } // credit: https://codesandbox.io/s/camera-pan-nsb7f function Plane({color, theatreKey, ...props}) { return ( ) } function App() { return ( {/* @ts-ignore */} ) } ReactDOM.render( , document.getElementById('root'), )