File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -2822,19 +2822,19 @@ export const toaster: {
28222822 /**
28232823 * Opens a Toast with an intent of none.
28242824 */
2825- notify : ( title : string , settings ?: ToasterSettings ) => void
2825+ notify : ( title : React . ReactNode , settings ?: ToasterSettings ) => void
28262826 /**
28272827 * Opens a Toast with an intent of success.
28282828 */
2829- success : ( title : string , settings ?: ToasterSettings ) => void
2829+ success : ( title : React . ReactNode , settings ?: ToasterSettings ) => void
28302830 /**
28312831 * Opens a Toast with an intent of warning.
28322832 */
2833- warning : ( title : string , settings ?: ToasterSettings ) => void
2833+ warning : ( title : React . ReactNode , settings ?: ToasterSettings ) => void
28342834 /**
28352835 * Opens a Toast with an intent of danger.
28362836 */
2837- danger : ( title : string , settings ?: ToasterSettings ) => void
2837+ danger : ( title : React . ReactNode , settings ?: ToasterSettings ) => void
28382838 /**
28392839 * Closes all visible Toasts.
28402840 */
@@ -2843,6 +2843,10 @@ export const toaster: {
28432843 * Returns all visible Toasts.
28442844 */
28452845 getToasts : ( ) => Toast [ ]
2846+ /**
2847+ * Removes toast with specific id
2848+ */
2849+ remove : ( id : string ) => void
28462850}
28472851
28482852export interface OverlayProps
You can’t perform that action at this time.
0 commit comments