@scaleflex/icons
Version:
SVG icons as React components
46 lines • 2.48 kB
JavaScript
import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
var _excluded = ["color", "size", "ref"];
import React from 'react';
export var DominantColor = function DominantColor(_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,
ref = _ref.ref,
rest = _objectWithoutProperties(_ref, _excluded);
return /*#__PURE__*/React.createElement("svg", _extends({
"data-icon-name": "DominantColor",
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", {
d: "M16.9039 31.1134C15.8786 29.7668 15.1837 28.155 14.9402 26.3989H1.13623C1.45671 31.9453 3.6682 36.9845 7.1357 40.8817L16.9039 31.1134Z",
fill: color
}), /*#__PURE__*/React.createElement("path", {
d: "M14.9402 23.5993C15.1837 21.8432 15.8786 20.2313 16.9039 18.8847L7.1357 9.11648C3.6682 13.0135 1.45671 18.0529 1.13623 23.5993H14.9402Z",
fill: color
}), /*#__PURE__*/React.createElement("path", {
d: "M26.4023 1.13696V15C28.1384 15.2499 29.7317 15.9411 31.0652 16.9563L40.8851 7.13644C36.9881 3.66893 31.9487 1.45744 26.4023 1.13696Z",
fill: color
}), /*#__PURE__*/React.createElement("path", {
d: "M18.8903 16.9119C20.2383 15.901 21.8471 15.2192 23.5977 14.9856V1.13696C18.0513 1.45744 13.012 3.66893 9.11491 7.13644L18.8903 16.9119Z",
fill: color
}), /*#__PURE__*/React.createElement("path", {
d: "M34.9568 26.3989C34.7169 28.1294 34.0385 29.7199 33.0376 31.0546L42.8648 40.8817C46.3323 36.9846 48.5438 31.9453 48.8642 26.3989H34.9568Z",
fill: color
}), /*#__PURE__*/React.createElement("path", {
d: "M33.0376 18.9436C34.0385 20.2782 34.7169 21.8686 34.9568 23.5993H48.8642C48.5437 18.0529 46.3322 13.0135 42.8647 9.11648L33.0376 18.9436Z",
fill: color
}), /*#__PURE__*/React.createElement("path", {
d: "M23.5977 35.0134C21.8471 34.7799 20.2383 34.0981 18.8903 33.0872L9.11491 42.8626C13.0121 46.3301 18.0513 48.5416 23.5977 48.8621V35.0134Z",
fill: color
}), /*#__PURE__*/React.createElement("path", {
d: "M31.0652 33.0448C29.7318 34.06 28.1384 34.7512 26.4023 35.0011V48.8641C31.9487 48.5436 36.9881 46.3322 40.8851 42.8647L31.0652 33.0448Z",
fill: color
}));
};
export default DominantColor;