theatre/examples/basic-dom/index.tsx

13 lines
285 B
TypeScript
Raw Normal View History

2021-06-18 13:05:06 +02:00
import React from 'react'
import ReactDOM from 'react-dom'
import studio from '@theatre/studio'
import {getProject} from '@theatre/core'
import {Scene} from './Scene'
studio.ui
ReactDOM.render(
<Scene project={getProject('Sample project')} />,
document.getElementById('root'),
)