@mocanvas/editor · function

useMocanvasUi

declare function useMocanvasUi(): MocanvasUiContextValue

The merged UI context. Outside a MocanvasUiProvider this is empty rather than an error: a shape body or a stray panel rendered without the chrome should render, not crash.

Mentioned here

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.