@mocanvas/editor · function

MocanvasUiProvider

declare function MocanvasUiProvider(props: MocanvasUiProviderProps): react.JSX.Element

Provides the merged chrome map and tool/action lists. Also provides the editor, so chrome mounted outside <Canvas> — a context menu that has to wrap the canvas, for instance — can still call useEditor().

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.