@scaleflex/icons
Version:
SVG icons as React components
27 lines • 3.76 kB
JavaScript
import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["color", "size"];
import React from 'react';
import { intrinsicComponent } from './utils/functions';
export var Currency = intrinsicComponent(function (_ref, ref) {
var _ref$color = _ref.color,
color = _ref$color === void 0 ? 'currentColor' : _ref$color,
_ref$size = _ref.size,
size = _ref$size === void 0 ? 14 : _ref$size,
rest = _objectWithoutProperties(_ref, _excluded);
return /*#__PURE__*/React.createElement("svg", _extends({
"data-icon-name": "Currency",
ref: ref,
width: size,
height: size,
viewBox: "0 0 50 50",
fill: "none",
xmlns: "http://www.w3.org/2000/svg"
}, rest), /*#__PURE__*/React.createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M44.9958 22.0062L44.7549 22.7767L45.4789 23.1338C46.7444 23.758 47.8265 24.6996 48.6194 25.8668C49.4054 27.0237 49.8807 28.3631 50 29.7562V39.1509C50 41.9812 47.8584 44.6799 43.7703 46.724C39.7183 48.75 33.9754 50 27.3585 50C20.7416 50 14.9987 48.75 10.9467 46.724C6.85854 44.6799 4.71698 41.9812 4.71698 39.1509V29.7184C4.71895 29.1472 4.81356 28.58 4.99714 28.039L5.26171 27.2593L4.52497 26.8917C3.25928 26.2602 2.17769 25.3131 1.38453 24.1419C0.598465 22.9812 0.121994 21.6391 0 20.243V10.8491C0 8.01879 2.14156 5.32005 6.22968 3.27599C10.2817 1.24998 16.0246 0 22.6415 0C29.2584 0 35.0013 1.24998 39.0533 3.27599C43.1415 5.32005 45.283 8.01879 45.283 10.8491V20.2715C45.2683 20.8603 45.1716 21.4441 44.9958 22.0062ZM22.6415 31.132L22.6274 31.1322C17.9251 31.2024 13.2459 30.4615 8.79537 28.9421L7.44473 28.481L7.54973 29.9043C7.62908 30.98 8.3256 31.9843 9.28062 32.8389C10.2589 33.7143 11.629 34.5438 13.3196 35.2611C16.7063 36.6981 21.4988 37.7358 27.3585 37.7358C33.221 37.7358 38.0677 36.6677 41.481 35.2004C43.1842 34.4683 44.5639 33.6224 45.5347 32.7314C46.4785 31.8652 47.1698 30.8289 47.1698 29.717C47.1698 28.8278 46.761 28.0171 46.1664 27.3188C45.5705 26.6189 44.7357 25.9676 43.7401 25.3703L43.1445 25.0129L42.6264 25.4755C38.9085 28.7951 31.608 31.1321 22.6415 31.132ZM4.24005 17.246L2.83019 16.444V20.283C2.83019 21.3949 3.52151 22.4313 4.46528 23.2975C5.43607 24.1885 6.81575 25.0343 8.51895 25.7665C11.9323 27.2337 16.779 28.3019 22.6415 28.3019C28.504 28.3019 33.3507 27.2337 36.7641 25.7665C38.4673 25.0343 39.8469 24.1885 40.8177 23.2975C41.7615 22.4313 42.4528 21.3949 42.4528 20.283V16.444L41.043 17.246C35.4604 20.4217 29.0977 21.9647 22.6805 21.6989L22.6415 21.6973L22.6025 21.6989C16.1853 21.9647 9.82264 20.4217 4.24005 17.246ZM8.95703 36.114L7.54717 35.3119V39.1509C7.54717 40.2628 8.23849 41.2992 9.18226 42.1654C10.1531 43.0564 11.5327 43.9023 13.2359 44.6344C16.6493 46.1016 21.496 47.1698 27.3585 47.1698C33.221 47.1698 38.0677 46.1016 41.481 44.6344C43.1842 43.9023 44.5639 43.0564 45.5347 42.1654C46.4785 41.2992 47.1698 40.2628 47.1698 39.1509V35.3119L45.7599 36.114C40.1774 39.2897 33.8147 40.8326 27.3975 40.5668L27.3585 40.5652L27.3195 40.5668C20.9023 40.8326 14.5396 39.2897 8.95703 36.114ZM42.4528 10.8491C42.4528 9.73718 41.7615 8.70079 40.8177 7.83459C39.8469 6.9436 38.4673 6.09772 36.7641 5.3656C33.3507 3.89836 28.504 2.83019 22.6415 2.83019C16.779 2.83019 11.9323 3.89836 8.51895 5.3656C6.81575 6.09772 5.43607 6.9436 4.46528 7.83459C3.52151 8.70079 2.83019 9.73718 2.83019 10.8491C2.83019 11.9609 3.52151 12.9973 4.46528 13.8635C5.43607 14.7545 6.81575 15.6004 8.51895 16.3325C11.9323 17.7998 16.779 18.8679 22.6415 18.8679C28.504 18.8679 33.3507 17.7998 36.7641 16.3325C38.4673 15.6004 39.8469 14.7545 40.8177 13.8635C41.7615 12.9973 42.4528 11.9609 42.4528 10.8491Z",
fill: color
}));
});
export default Currency;