TLEditorComponents
See source codeTable of contents
- Background
- Brush
- Canvas
- CollaboratorBrush
- CollaboratorCursor
- CollaboratorHint
- CollaboratorScribble
- CollaboratorShapeIndicator
- Cursor
- ErrorFallback
- Grid
- Handle
- Handles
- InFrontOfTheCanvas
- LoadingScreen
- OnTheCanvas
- Scribble
- SelectionBackground
- SelectionForeground
- ShapeErrorFallback
- ShapeIndicator
- ShapeIndicatorErrorFallback
- ShapeIndicators
- SnapIndicator
- Spinner
- SvgDefs
- ZoomBrush
- Properties
interface TLEditorComponents {}Properties
Background
optional
Background?: ComponentType | nullBrush
optional
Brush?: ComponentType<TLBrushProps> | nullCanvas
optional
Canvas?: ComponentType<TLCanvasComponentProps> | nullCollaboratorBrush
optional
CollaboratorBrush?: ComponentType<TLBrushProps> | nullCollaboratorCursor
optional
CollaboratorCursor?: ComponentType<TLCursorProps> | nullCollaboratorHint
optional
CollaboratorHint?: ComponentType<TLCollaboratorHintProps> | nullCollaboratorScribble
optional
CollaboratorScribble?: ComponentType<TLScribbleProps> | nullCollaboratorShapeIndicator
optional
CollaboratorShapeIndicator?: ComponentType<TLShapeIndicatorProps> | nullCursor
optional
Cursor?: ComponentType<TLCursorProps> | nullErrorFallback
optional
ErrorFallback?: TLErrorFallbackComponentGrid
optional
Grid?: ComponentType<TLGridProps> | nullHandle
optional
Handle?: ComponentType<TLHandleProps> | nullHandles
optional
Handles?: ComponentType<TLHandlesProps> | nullInFrontOfTheCanvas
optional
InFrontOfTheCanvas?: ComponentType | nullLoadingScreen
optional
LoadingScreen?: ComponentType | nullOnTheCanvas
optional
OnTheCanvas?: ComponentType | nullScribble
optional
Scribble?: ComponentType<TLScribbleProps> | nullSelectionBackground
optional
SelectionBackground?: ComponentType<TLSelectionBackgroundProps> | nullSelectionForeground
optional
SelectionForeground?: ComponentType<TLSelectionForegroundProps> | nullShapeErrorFallback
optional
ShapeErrorFallback?: TLShapeErrorFallbackComponentShapeIndicator
optional
ShapeIndicator?: ComponentType<TLShapeIndicatorProps> | nullShapeIndicatorErrorFallback
optional
ShapeIndicatorErrorFallback?: TLShapeIndicatorErrorFallbackComponentShapeIndicators
optional
ShapeIndicators?: ComponentType | nullSnapIndicator
optional
SnapIndicator?: ComponentType<TLSnapIndicatorProps> | nullSpinner
optional
Spinner?: ComponentType | nullSvgDefs
optional
SvgDefs?: ComponentType | nullZoomBrush
optional
ZoomBrush?: ComponentType<TLBrushProps> | nullPrev
TldrawOptionsNext
TLEditorOptions