Table of contents
interface TLEditorComponents {}

Properties

Background

Background?: ComponentType | null

Brush

Brush?: ComponentType<TLBrushProps> | null

Canvas

Canvas?: ComponentType<TLCanvasComponentProps> | null

CollaboratorBrush

CollaboratorBrush?: ComponentType<TLBrushProps> | null

CollaboratorCursor

CollaboratorCursor?: ComponentType<TLCursorProps> | null

CollaboratorHint

CollaboratorHint?: ComponentType<TLCollaboratorHintProps> | null

CollaboratorScribble

CollaboratorScribble?: ComponentType<TLScribbleProps> | null

CollaboratorShapeIndicator

CollaboratorShapeIndicator?: ComponentType<TLShapeIndicatorProps> | null

Cursor

Cursor?: ComponentType<TLCursorProps> | null

ErrorFallback

ErrorFallback?: TLErrorFallbackComponent

Grid

Grid?: ComponentType<TLGridProps> | null

Handle

Handle?: ComponentType<TLHandleProps> | null

Handles

Handles?: ComponentType<TLHandlesProps> | null

InFrontOfTheCanvas

InFrontOfTheCanvas?: ComponentType | null

LoadingScreen

LoadingScreen?: ComponentType | null

OnTheCanvas

OnTheCanvas?: ComponentType | null

Scribble

Scribble?: ComponentType<TLScribbleProps> | null

SelectionBackground

SelectionBackground?: ComponentType<TLSelectionBackgroundProps> | null

SelectionForeground

SelectionForeground?: ComponentType<TLSelectionForegroundProps> | null

ShapeErrorFallback

ShapeErrorFallback?: TLShapeErrorFallbackComponent

ShapeIndicator

ShapeIndicator?: ComponentType<TLShapeIndicatorProps> | null

ShapeIndicatorErrorFallback

ShapeIndicatorErrorFallback?: TLShapeIndicatorErrorFallbackComponent

ShapeIndicators

ShapeIndicators?: ComponentType | null

SnapIndicator

SnapIndicator?: ComponentType<TLSnapIndicatorProps> | null

Spinner

Spinner?: ComponentType | null

SvgDefs

SvgDefs?: ComponentType | null

ZoomBrush

ZoomBrush?: ComponentType<TLBrushProps> | null

TldrawOptionsTLEditorOptions