toast
Returned from initToast
Sends a toast to your toast-list.
Arguments
Takes one argument, which is the interface you've specified in initToast
, as well as an extra optional argument:
removeAfterMs?
: number | undefined
Specifies the timeout for the toast to be auto-removed.