@mocanvas/editor · function

LoadingScreen

declare function LoadingScreen({ children }: LoadingScreenProps): react.JSX.Element

What is on screen while the editor's store and engine are still coming up.

Occupies the editor's whole box so the layout does not jump when the canvas replaces it, and is labelled as a live region so a screen reader is told that something is loading rather than that the page is empty.

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.