@govuk-react/icons
Advanced tools
Comparing version 0.2.4 to 0.2.6
@@ -26,3 +26,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
SVG.propTypes = process.env.NODE_ENV !== "production" ? { | ||
children: PropTypes.node.isRequired, | ||
children: PropTypes.node, | ||
title: PropTypes.string, | ||
@@ -32,2 +32,3 @@ fill: PropTypes.string | ||
SVG.defaultProps = { | ||
children: undefined, | ||
title: undefined, | ||
@@ -34,0 +35,0 @@ fill: 'currentColor' |
@@ -34,3 +34,3 @@ "use strict"; | ||
SVG.propTypes = process.env.NODE_ENV !== "production" ? { | ||
children: _propTypes.default.node.isRequired, | ||
children: _propTypes.default.node, | ||
title: _propTypes.default.string, | ||
@@ -40,2 +40,3 @@ fill: _propTypes.default.string | ||
SVG.defaultProps = { | ||
children: undefined, | ||
title: undefined, | ||
@@ -42,0 +43,0 @@ fill: 'currentColor' |
{ | ||
"name": "@govuk-react/icons", | ||
"version": "0.2.4", | ||
"version": "0.2.6", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "@govuk-react/constants": "^0.2.2", |
@@ -21,3 +21,3 @@ import React from 'react'; | ||
SVG.propTypes = { | ||
children: PropTypes.node.isRequired, | ||
children: PropTypes.node, | ||
title: PropTypes.string, | ||
@@ -28,2 +28,3 @@ fill: PropTypes.string, | ||
SVG.defaultProps = { | ||
children: undefined, | ||
title: undefined, | ||
@@ -30,0 +31,0 @@ fill: 'currentColor', |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
139808
1491
1