@mocanvas/editor · type
type TLShapeErrorFallbackComponent = ComponentType<{
error: unknown;
}> | nullA replacement for the fallback drawn in place of a single broken shape, or
null to draw nothing.
Separate from TLErrorFallbackComponent because the situations are not comparable: one shape failing should cost that shape, and the fallback is drawn *in the canvas*, at the shape's position, where a whole error screen would be absurd.
Mentioned here
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.