@economist/component-bar-wrapper
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -31,2 +31,3 @@ 'use strict'; | ||
close: _react2['default'].PropTypes.bool, | ||
renderCloseButton: _react2['default'].PropTypes.func, | ||
onClose: _react2['default'].PropTypes.func, | ||
@@ -102,4 +103,5 @@ stillRenderWhenClosed: _react2['default'].PropTypes.bool | ||
if (close) { | ||
var CloseButtonComponent = this.props.renderCloseButton || 'span'; | ||
closeButton = _react2['default'].createElement( | ||
'span', | ||
CloseButtonComponent, | ||
{ onClick: this.onClose, | ||
@@ -106,0 +108,0 @@ className: closeWrapperClassNames.join(' '), |
{ | ||
"name": "@economist/component-bar-wrapper", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "A wrapper for a component that displays a horizontal bar of some sort", | ||
@@ -5,0 +5,0 @@ "author": "The Economist (http://economist.com)", |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
617797
294
4