@mocanvas/mocanvas · interface

TLUiToast

interface TLUiToast

One message. id is assigned by TLUiToastsContextType.addToast.


Properties · 8

actions?: TLUiToastAction[]
closeLabel?: string
description?: string
icon?: string
id: string
keepOpen?: boolean

Milliseconds before it removes itself. 0 keeps it until dismissed.

severity?: "success" | "info" | "warning" | "error"
title?: string

Mentioned here

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.