Public function

Signature
function useEditorComponents(): Partial<
  {
    Background: ComponentType | null
    Brush: ComponentType<TLBrushProps> | null
    Canvas: ComponentType<TLCanvasComponentProps> | null
    CollaboratorBrush: ComponentType<TLBrushProps> | null
    CollaboratorCursor: ComponentType<TLCursorProps> | null
    CollaboratorHint: ComponentType<TLCollaboratorHintProps> | null
    CollaboratorScribble: ComponentType<TLScribbleProps> | null
    CollaboratorShapeIndicator: ComponentType<TLShapeIndicatorProps> | null
    Cursor: ComponentType<TLCursorProps> | null
    Grid: ComponentType<TLGridProps> | null
    Handle: ComponentType<TLHandleProps> | null
    Handles: ComponentType<TLHandlesProps> | null
    InFrontOfTheCanvas: ComponentType | null
    LoadingScreen: ComponentType | null
    OnTheCanvas: ComponentType | null
    Scribble: ComponentType<TLScribbleProps> | null
    SelectionBackground: ComponentType<TLSelectionBackgroundProps> | null
    SelectionForeground: ComponentType<TLSelectionForegroundProps> | null
    ShapeIndicator: ComponentType<TLShapeIndicatorProps> | null
    SnapIndicator: ComponentType<TLSnapIndicatorProps> | null
    Spinner: ComponentType | null
    SvgDefs: ComponentType | null
    ZoomBrush: ComponentType<TLBrushProps> | null
  } & ErrorComponents
> &
  ErrorComponents
References

TLBrushProps, TLCursorProps, TLCollaboratorHintProps, TLScribbleProps, TLShapeIndicatorProps, TLGridProps, TLHandleProps, TLHandlesProps, TLSelectionBackgroundProps, TLSelectionForegroundProps, TLSnapIndicatorProps

Source

packages/editor/src/lib/hooks/useEditorComponents.tsx

useEditoruseIsCropping