@mocanvas/mocanvas · function

OfflineIndicator

declare function OfflineIndicator(): react.JSX.Element | null

The "you are offline" chip.

Reads navigator.onLine, which is the only offline signal a canvas SDK can have: whether a *sync server* is reachable is the sync layer's business, and a host that has one passes its own component into the slot instead.

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.