react-notification
Advanced tools
Comparing version 5.0.5 to 5.0.6
@@ -50,3 +50,3 @@ 'use strict'; | ||
notifications: _react.PropTypes.array.isRequired, | ||
onDismiss: _react.PropTypes.func | ||
onDismiss: _react.PropTypes.func.isRequired | ||
}; | ||
@@ -53,0 +53,0 @@ |
{ | ||
"name": "react-notification", | ||
"version": "5.0.5", | ||
"version": "5.0.6", | ||
"description": "Snackbar style notification component for React.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -129,3 +129,3 @@ import { Notification, NotificationStack } from '../src/index'; | ||
); | ||
expect(handleDismiss.calledOnce).to.equal(false); | ||
@@ -153,3 +153,3 @@ wrapper.setProps({ isActive: true }); | ||
); | ||
wrapper.setProps({ isActive: true }); | ||
@@ -156,0 +156,0 @@ setTimeout(() => { |
@@ -23,3 +23,3 @@ import { Notification, NotificationStack } from '../src/index'; | ||
); | ||
wrapper.update(); | ||
@@ -46,3 +46,3 @@ setTimeout(() => { | ||
); | ||
wrapper.update(); | ||
@@ -56,3 +56,3 @@ setTimeout(() => { | ||
} | ||
// Add transition time + 1000ms per each Notification | ||
// Add transition time + 1000ms per each Notification | ||
}, mockNotification.dismissAfter + 1340); | ||
@@ -59,0 +59,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
358424