@mocanvas/editor · function

DefaultCursor

declare function DefaultCursor({ rotation, color, name, point }: TLCursorProps): react.JSX.Element | null

A pointer arrow drawn in the editor, with an optional name tag.

Used for collaborators: the local pointer is the browser's own cursor, driven by the CSS cursor property, and does not go through 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.