@mocanvas/editor · type

TLErrorFallbackComponent

type TLErrorFallbackComponent = ComponentType<TLErrorFallbackProps> | null

A replacement for the editor-wide error screen, or null to render nothing at all.

null is a real choice, not an oversight: a host that shows its own error UI outside the canvas wants the editor to fail silently rather than to draw a second, competing message.

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.