@mocanvas/editor · interface

TLEditorComponents

interface TLEditorComponents

The editor-level component map: the twelve slots <Canvas> itself renders.


Properties · 12

Background?: (() => ReactNode) | null
Canvas?: (() => ReactNode) | null
CollaboratorCursor?: ((props: TLCursorProps) => ReactNode) | null
ErrorFallback?: ((props: {
Grid?: ((props: TLGridProps) => ReactNode) | null
InFrontOfTheCanvas?: (() => ReactNode) | null
LoadingScreen?: (() => ReactNode) | null
OnTheCanvas?: (() => ReactNode) | null
ShapeErrorFallback?: ((props: {
ShapeWrapper?: ((props: TLShapeWrapperProps) => ReactNode) | null
Spinner?: (() => ReactNode) | null
SvgDefs?: (() => ReactNode) | null

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.