import * as React from 'react' ; import { TDShapeType , Tldraw , TldrawApp , useFileSystem } from '@tldraw/tldraw' ; declare const window ; export default function Develop ( ) { const rTldrawApp = React . useRef < TldrawApp > ( ) ; const fileSystemEvents = useFileSystem ( ) ; const handleMount = React . useCallback ( ( app ) => { window . app = app ; rTldrawApp . current = app ; } , [ ] ) ; const handleSignOut = React . useCallback ( ( ) => { } , [ ] ) ; const handleSignIn = React . useCallback ( ( ) => { } , [ ] ) ; const handlePersist = React . useCallback ( ( ) => { } , [ ] ) ; return ( < div className = "tldraw" > < Tldraw id = "develop" { ... fileSystemEvents } onMount = { handleMount } onSignIn = { handleSignIn } onSignOut = { handleSignOut } onPersist = { handlePersist } showSponsorLink = { false } / > < /div>); }