@mocanvas/mocanvas · type
type AlertSeverity = NonNullable<TLUiToast["severity"]>How loud a message is.
Shared by toasts and by any inline alert an app builds on the same vocabulary, which is why it is named for the severity rather than for the toast: the four levels are a UI concept, not a property of one component.
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.