@scaleflex/icons
Version:
SVG icons as React components
27 lines • 2.46 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 DominantColor = 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": "DominantColor",
ref: ref,
width: size,
height: size,
viewBox: "0 0 38 39",
fill: "none",
xmlns: "http://www.w3.org/2000/svg"
}, rest), /*#__PURE__*/React.createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M18.1556 36.7909V29.3671C16.0335 29.1879 14.102 28.3395 12.5728 27.0337L7.32481 32.2816C10.2094 34.9179 13.9894 36.5908 18.1556 36.7909ZM9.12582 20.2568C9.28549 22.3694 10.108 24.297 11.386 25.832L6.13485 31.0831C3.52857 28.1902 1.8841 24.4137 1.70516 20.2574L9.09736 20.2572L9.12582 20.2568ZM18.1556 9.63286C16.0772 9.80837 14.1816 10.6258 12.6678 11.8861L7.41672 6.63503C10.2894 4.04685 14.0335 2.40712 18.1556 2.20912L18.1556 9.63286ZM6.21825 7.82501L11.4661 13.0729C10.1781 14.5813 9.33509 16.4813 9.14048 18.5694C9.12618 18.5687 9.11179 18.5684 9.09732 18.5684L1.71352 18.5686C1.93258 14.4369 3.60039 10.6894 6.21825 7.82501ZM30.5479 32.3968C27.6798 34.9666 23.9496 36.5937 19.8444 36.7909V29.3671C21.906 29.193 23.7877 28.3873 25.2953 27.1442L30.5479 32.3968ZM31.7496 31.2101C34.3718 28.3566 36.0484 24.6205 36.2828 20.4985H28.8528C28.6447 22.5766 27.7942 24.4653 26.5027 25.9632L31.7496 31.2101ZM36.2976 18.8096H28.8788C28.7327 16.6872 27.9178 14.7488 26.6434 13.2035L31.8958 7.95103C34.4983 10.855 36.1342 14.6432 36.2976 18.8096ZM30.709 6.7494L25.4621 11.9963C23.9275 10.6735 21.9827 9.81346 19.8444 9.63287V2.20912C24.0269 2.41002 27.8202 4.0952 30.709 6.7494ZM38 19.5C38 29.9934 29.4934 38.5 19 38.5C8.50659 38.5 0 29.9934 0 19.5C0 9.00659 8.50659 0.5 19 0.5C29.4934 0.5 38 9.00659 38 19.5ZM27.2136 19.5C27.2136 24.0363 23.5362 27.7137 18.9999 27.7137C14.4636 27.7137 10.7862 24.0363 10.7862 19.5C10.7862 14.9637 14.4636 11.2863 18.9999 11.2863C23.5362 11.2863 27.2136 14.9637 27.2136 19.5Z",
fill: color
}));
});
export default DominantColor;