react-redux-toastr
Advanced tools
Comparing version 6.1.0 to 6.2.0
@@ -121,3 +121,5 @@ 'use strict'; | ||
}, _this2.props)), | ||
item.options && item.options.attention && _react2.default.createElement('div', { className: 'toastr-attention' }) | ||
item.options && item.options.attention && _react2.default.createElement('div', { onClick: function onClick() { | ||
return _this2.props.remove(item.id); | ||
}, className: 'toastr-attention' }) | ||
); | ||
@@ -124,0 +126,0 @@ }); |
{ | ||
"name": "react-redux-toastr", | ||
"version": "6.1.0", | ||
"version": "6.2.0", | ||
"description": "react-redux-toastr is a React toastr message implemented with Redux", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -94,3 +94,5 @@ import React from 'react'; | ||
/> | ||
{item.options && item.options.attention && <div className="toastr-attention" />} | ||
{item.options && item.options.attention && | ||
<div onClick={() => this.props.remove(item.id)} className="toastr-attention" /> | ||
} | ||
</span> | ||
@@ -97,0 +99,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
121477
2024