@easyguide/icon
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -19,6 +19,14 @@ 'use strict'; | ||
var StarWithMedal = function (props) { | ||
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; } | ||
var StarWithMedal = function (_ref) { | ||
var color = _ref.color, | ||
props = _objectWithoutProperties(_ref, ['color']); | ||
return _react2.default.createElement( | ||
'svg', | ||
_extends({ viewBox: '0 0 16 16', xmlnsXlink: 'http://www.w3.org/1999/xlink' }, props), | ||
_extends({ | ||
viewBox: '0 0 16 16', | ||
xmlnsXlink: 'http://www.w3.org/1999/xlink' | ||
}, props), | ||
_react2.default.createElement( | ||
@@ -29,3 +37,3 @@ 'defs', | ||
d: 'M2.71.796H2.4V0h.962l.022-.004V0H13.6v.796h-.321l-1.13 6.407 3.051.438-3.6 3.465.85 4.894L8 13.69 3.55 16l.85-4.894L.8 7.641l3.04-.437L2.71.796zm.815 0l1.11 6.294 1.14-.163L8 2.474l2.225 4.453 1.13.162 1.11-6.293h-8.94zm4.479 12.053l3.482 1.792-.665-3.794 2.817-2.687-3.893-.554-1.741-3.452-1.741 3.452-3.893.554 2.817 2.687-.665 3.794 3.482-1.792z', | ||
id: 'a' | ||
id: 'star-with-medal-path' | ||
}) | ||
@@ -38,9 +46,9 @@ ), | ||
'mask', | ||
{ id: 'b', fill: '#fff' }, | ||
_react2.default.createElement('use', { xlinkHref: '#a' }) | ||
{ id: 'star-with-medal-mask', fill: '#fff' }, | ||
_react2.default.createElement('use', { xlinkHref: '#star-with-medal-path' }) | ||
), | ||
_react2.default.createElement('use', { fill: props.color, xlinkHref: '#a' }), | ||
_react2.default.createElement('use', { fill: props.color, xlinkHref: '#star-with-medal-path' }), | ||
_react2.default.createElement( | ||
'g', | ||
{ mask: 'url(#b)', fill: props.color }, | ||
{ mask: 'url(#star-with-medal-mask)', fill: color }, | ||
_react2.default.createElement('path', { d: 'M0 0h16v16H0z' }) | ||
@@ -47,0 +55,0 @@ ) |
{ | ||
"name": "@easyguide/icon", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "Icons", | ||
@@ -82,3 +82,3 @@ "author": "iamtchelo", | ||
], | ||
"gitHead": "538b30f96c36ca5a7a400ad9657654f13048be28" | ||
"gitHead": "f0f098372941c51678b22f5fe5ffe26e385ad1b5" | ||
} |
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
11420
148