@mocanvas/editor · interface

EditorStoreProps

interface EditorStoreProps

This one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.


Properties · 2

assets: AssetStore

Where the bytes behind this document's assets live.

It hangs off the *store* rather than the editor because assets are document-scoped: a snapshot loaded into a store, exported from it, or synced out of it all need the same uploader, and some of that happens with no editor mounted at all.

Always present — an app that supplies none gets createInMemoryAssetStore, so store.props.assets.upload is never a null check at a call site.

defaultName: string

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.