@mocanvas/editor · function

DefaultShapeErrorFallback

declare function DefaultShapeErrorFallback({ error }: {
    error: unknown;
}): react.JSX.Element

Drawn in place of one shape whose body threw.

At the shape's own position and size, because that is where the user is looking — and quiet, because a page of thirty broken shapes should not be thirty alarms. The point is that the other twenty-nine still work.

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.