@mocanvas/editor · interface
interface TldrawEditorWithStoreProps extends TldrawEditorBasePropsThe branch where the host owns the store.
Shape and binding utils are *not* accepted here, and that is deliberate rather than an oversight: the store's schema was decided when the store was built, and utils passed at this point could not affect it. Accepting them would let a document load against a schema that does not match the utils rendering it.
Properties · 10
bindingUtils?: neverdefaultName?: neverinitialData?: nevermigrations?: neverpersistenceKey?: neverrecords?: neversessionId?: nevershapeUtils?: neverNot accepted with store: the schema is already fixed.
snapshot?: neverstore: EditorStore | TLStoreWithStatusThe store to use, or a store that may still be arriving.
mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.