theatre/examples/basic-dom/index.tsx
2021-09-01 10:36:44 +02:00

12 lines
295 B
TypeScript

import React from 'react'
import ReactDOM from 'react-dom'
import studio from '@theatre/studio'
import {getProject} from '@theatre/core'
import {Scene} from './Scene'
studio.initialize()
ReactDOM.render(
<Scene project={getProject('Sample project')} />,
document.getElementById('root'),
)