@mocanvas/sync · constant

CollaboratorCursors

declare const CollaboratorCursors: ({ editor, showSelection, showNames, }: CollaboratorCursorsProps) => react.JSX.Element | null

Other people's cursors and selections, drawn in screen space above the canvas. Drop it inside <Mocanvas> or <Canvas>; it positions itself.

The arrow below is the default. An app that supplies a TLEditorComponents.CollaboratorCursor component gets that instead — the slot was declared on two component maps and consulted by nothing, so an app that replaced the cursor silently kept seeing ours.

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.