13 lines
300 B
TypeScript
13 lines
300 B
TypeScript
|
import React from 'react'
|
||
|
import ReactDOM from 'react-dom'
|
||
|
import studio from '@theatre/studio'
|
||
|
import {getProject} from '@theatre/core'
|
||
|
import {Scene} from './App/Scene'
|
||
|
|
||
|
studio.initialize()
|
||
|
|
||
|
ReactDOM.render(
|
||
|
<Scene project={getProject('Sample project')} />,
|
||
|
document.getElementById('root')!,
|
||
|
)
|