tldraw/components/editor.tsx
2021-05-16 08:09:46 +01:00

20 lines
453 B
TypeScript

import useKeyboardEvents from "hooks/useKeyboardEvents"
import useLoadOnMount from "hooks/useLoadOnMount"
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()
useLoadOnMount()
return (
<>
<Canvas />
<StatusBar />
<Toolbar />
{/* <CodePanel /> */}
</>
)
}