tldraw/components/editor.tsx

18 lines
384 B
TypeScript

import useKeyboardEvents from "hooks/useKeyboardEvents"
import Canvas from "./canvas/canvas"
import StatusBar from "./status-bar"
import Toolbar from "./toolbar"
import CodePanel from "./code-panel/code-panel"
export default function Editor() {
useKeyboardEvents()
return (
<>
<Canvas />
<StatusBar />
<Toolbar />
{/* <CodePanel /> */}
</>
)
}