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: {
2822
2822
/**
2823
2823
* Opens a Toast with an intent of none.
2824
2824
*/
2825
- notify : ( title : string , settings ?: ToasterSettings ) => void
2825
+ notify : ( title : React . ReactNode , settings ?: ToasterSettings ) => void
2826
2826
/**
2827
2827
* Opens a Toast with an intent of success.
2828
2828
*/
2829
- success : ( title : string , settings ?: ToasterSettings ) => void
2829
+ success : ( title : React . ReactNode , settings ?: ToasterSettings ) => void
2830
2830
/**
2831
2831
* Opens a Toast with an intent of warning.
2832
2832
*/
2833
- warning : ( title : string , settings ?: ToasterSettings ) => void
2833
+ warning : ( title : React . ReactNode , settings ?: ToasterSettings ) => void
2834
2834
/**
2835
2835
* Opens a Toast with an intent of danger.
2836
2836
*/
2837
- danger : ( title : string , settings ?: ToasterSettings ) => void
2837
+ danger : ( title : React . ReactNode , settings ?: ToasterSettings ) => void
2838
2838
/**
2839
2839
* Closes all visible Toasts.
2840
2840
*/
@@ -2843,6 +2843,10 @@ export const toaster: {
2843
2843
* Returns all visible Toasts.
2844
2844
*/
2845
2845
getToasts : ( ) => Toast [ ]
2846
+ /**
2847
+ * Removes toast with specific id
2848
+ */
2849
+ remove : ( id : string ) => void
2846
2850
}
2847
2851
2848
2852
export interface OverlayProps
You can’t perform that action at this time.
0 commit comments