react-toastify
Advanced tools
Comparing version 10.0.7-3 to 10.0.7-4
@@ -173,4 +173,6 @@ import * as React from 'react'; | ||
* Called when toast is unmounted. | ||
* The callback first argument is the closure reason. | ||
* It is "true" when the notification is closed by a user action like clicking on the close button. | ||
*/ | ||
onClose?: (removedByUser: true | undefined) => void; | ||
onClose?: (reason?: boolean | string) => void; | ||
/** | ||
@@ -177,0 +179,0 @@ * An optional inline style to apply. |
{ | ||
"version": "10.0.7-3", | ||
"version": "10.0.7-4", | ||
"license": "MIT", | ||
@@ -4,0 +4,0 @@ "description": "React notification made easy", |
Sorry, the diff of this file is not supported yet
328122
1536