@easyguide/icon
Advanced tools
Comparing version 0.5.1 to 0.5.2
@@ -13,2 +13,6 @@ 'use strict'; | ||
var _uuid = require('uuid'); | ||
var _uuid2 = _interopRequireDefault(_uuid); | ||
var _Icon = require('./Icon.hoc'); | ||
@@ -28,2 +32,4 @@ | ||
var id = (0, _uuid2.default)(); | ||
return _react2.default.createElement( | ||
@@ -39,3 +45,3 @@ 'svg', | ||
_react2.default.createElement('path', { | ||
id: 'star-path', | ||
id: id, | ||
d: 'M20 31.414L7.64 37.886 10 24.178 0 14.471l13.82-2L20 0l6.18 12.471 13.82 2-10 9.707 2.36 13.708z', | ||
@@ -45,3 +51,3 @@ stroke: borderColor | ||
), | ||
_react2.default.createElement('use', { fill: color, xlinkHref: '#star-path', fillRule: 'evenodd' }) | ||
_react2.default.createElement('use', { fill: color, xlinkHref: `#${id}`, fillRule: 'evenodd' }) | ||
); | ||
@@ -48,0 +54,0 @@ }; |
{ | ||
"name": "@easyguide/icon", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"description": "Icons", | ||
@@ -82,3 +82,6 @@ "author": "iamtchelo", | ||
], | ||
"gitHead": "f0f098372941c51678b22f5fe5ffe26e385ad1b5" | ||
"dependencies": { | ||
"uuid": "^3.3.2" | ||
}, | ||
"gitHead": "556a160cd5f1e8c441b86696d7cfe979d24e0649" | ||
} |
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
11563
151
3
+ Addeduuid@^3.3.2
+ Addeduuid@3.4.0(transitive)