@mocanvas/mocanvas · function

DefaultToasts

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

The toast stack.

A role="log" region rather than a live region: each toast is itself an alert, and nesting a live region inside another makes screen readers read the whole stack every time one arrives.

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.