TLEditorComponents

See source code
Table of contents
interface TLEditorComponents {}

Properties

Background

optional
Background?: ComponentType | null

Brush

optional
Brush?: ComponentType<TLBrushProps> | null

Canvas

optional
Canvas?: ComponentType<TLCanvasComponentProps> | null

CollaboratorBrush

optional
CollaboratorBrush?: ComponentType<TLBrushProps> | null

CollaboratorCursor

optional
CollaboratorCursor?: ComponentType<TLCursorProps> | null

CollaboratorHint

optional
CollaboratorHint?: ComponentType<TLCollaboratorHintProps> | null

CollaboratorScribble

optional
CollaboratorScribble?: ComponentType<TLScribbleProps> | null

CollaboratorShapeIndicator

optional
CollaboratorShapeIndicator?: ComponentType<TLShapeIndicatorProps> | null

Cursor

optional
Cursor?: ComponentType<TLCursorProps> | null

ErrorFallback

optional
ErrorFallback?: TLErrorFallbackComponent

Grid

optional
Grid?: ComponentType<TLGridProps> | null

Handle

optional
Handle?: ComponentType<TLHandleProps> | null

Handles

optional
Handles?: ComponentType<TLHandlesProps> | null

InFrontOfTheCanvas

optional
InFrontOfTheCanvas?: ComponentType | null

LoadingScreen

optional
LoadingScreen?: ComponentType | null

OnTheCanvas

optional
OnTheCanvas?: ComponentType | null

Scribble

optional
Scribble?: ComponentType<TLScribbleProps> | null

SelectionBackground

optional
SelectionBackground?: ComponentType<TLSelectionBackgroundProps> | null

SelectionForeground

optional
SelectionForeground?: ComponentType<TLSelectionForegroundProps> | null

ShapeErrorFallback

optional
ShapeErrorFallback?: TLShapeErrorFallbackComponent

ShapeIndicator

optional
ShapeIndicator?: ComponentType<TLShapeIndicatorProps> | null

ShapeIndicatorErrorFallback

optional
ShapeIndicatorErrorFallback?: TLShapeIndicatorErrorFallbackComponent

ShapeIndicators

optional
ShapeIndicators?: ComponentType | null

SnapIndicator

optional
SnapIndicator?: ComponentType<TLSnapIndicatorProps> | null

Spinner

optional
Spinner?: ComponentType | null

SvgDefs

optional
SvgDefs?: ComponentType | null

ZoomBrush

optional
ZoomBrush?: ComponentType<TLBrushProps> | null

Prev
TldrawOptions
Next
TLEditorOptions