tldraw/packages/www/pages/index.tsx

14 lines
260 B
TypeScript
Raw Normal View History

import * as React from 'react'
2021-08-10 16:12:55 +00:00
import dynamic from 'next/dynamic'
const Editor = dynamic(() => import('../components/editor'), { ssr: false })
export function Index(): JSX.Element {
2021-08-10 16:12:55 +00:00
return (
<div>
<Editor />
</div>
2021-08-10 16:12:55 +00:00
)
}
export default Index