@mocanvas/mocanvas · function
declare function useCollaborationStatus(): "offline" | "online"A coarse status for the collaboration chrome.
mocanvas's editor has no transport of its own — sync is a separate package —
so this reports what the editor can actually see: whether there is anyone
else present. A host with a real connection passes its own indicator into
the SharePanel slot.
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.