be2c6d6d1f
* bumps rko, adds events * rename tlstate to state, fix env for multiplayer test * Fix multiplayer * rename data tldrawstate to tldrawsnapshot * Update multiplayer-editor.tsx * Fix shhhmp * Update 2.tldr * Add API to the README
15 lines
374 B
TypeScript
15 lines
374 B
TypeScript
import * as React from 'react'
|
|
import Head from 'next/head'
|
|
import dynamic from 'next/dynamic'
|
|
const MultiplayerEditor = dynamic(() => import('components/multiplayer-editor'), { ssr: false })
|
|
|
|
export default function Room(): JSX.Element {
|
|
return (
|
|
<>
|
|
<Head>
|
|
<title>tldraw</title>
|
|
</Head>
|
|
<MultiplayerEditor roomId={'shhhmp'} />
|
|
</>
|
|
)
|
|
}
|