@scaleflex/icons
Version:
SVG icons as React components
31 lines • 3.06 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 ApiConnection = 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": "ApiConnection",
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: "M0.000427246 45.6055C0.000427246 48.0325 1.96791 50 4.39496 50H45.6059C48.0329 50 50.0004 48.0325 50.0004 45.6055V44.1406H0.000427246V45.6055Z",
fill: color
}), /*#__PURE__*/React.createElement("path", {
d: "M25.0004 30.8594C26.6185 30.8594 27.9301 29.5477 27.9301 27.9297C27.9301 26.3117 26.6185 25 25.0004 25C23.3824 25 22.0707 26.3117 22.0707 27.9297C22.0707 29.5477 23.3824 30.8594 25.0004 30.8594Z",
fill: color
}), /*#__PURE__*/React.createElement("path", {
d: "M47.0707 14.7461H41.1137V13.8878L44.0434 10.9581V8.61689C45.7448 8.01016 46.9731 6.30176 46.9731 4.39453C46.9731 1.97129 45.0018 0 42.5786 0C40.1553 0 38.184 1.97129 38.184 4.39453C38.184 6.30176 39.4123 8.01016 41.1137 8.61689V9.74502L38.184 12.6747V14.7461H29.395V13.8878L32.3246 10.9581V8.61689C34.026 8.01016 35.2543 6.30176 35.2543 4.39453C35.2543 1.97129 33.283 0 30.8598 0C28.4366 0 26.4653 1.97129 26.4653 4.39453C26.4653 6.30176 27.6936 8.01016 29.395 8.61689V9.74502L26.4653 12.6747V14.7461H23.5356V12.6747L20.6059 9.74502V8.61689C22.3073 8.01016 23.5356 6.30176 23.5356 4.39453C23.5356 1.97129 21.5643 0 19.1411 0C16.7178 0 14.7465 1.97129 14.7465 4.39453C14.7465 6.30176 15.9748 8.01016 17.6762 8.61689V10.9581L20.6059 13.8878V14.7461H11.8168V12.6747L8.88715 9.74502V8.61689C10.5885 8.01016 11.8168 6.30176 11.8168 4.39453C11.8168 1.97129 9.84554 0 7.4223 0C4.99906 0 3.02777 1.97129 3.02777 4.39453C3.02777 6.30176 4.25609 8.01016 5.95746 8.61689V10.9581L8.88715 13.8878V14.7461H2.93011V41.2109H47.0707V14.7461ZM30.8598 27.9297C30.8598 28.4717 30.7619 28.9865 30.6236 29.4851L33.3432 31.0554L31.8784 33.5931L29.1742 32.0314C28.4415 32.7768 27.5067 33.3102 26.4653 33.5809V36.7188H23.5356V33.581C22.4942 33.3103 21.5593 32.7769 20.8267 32.0315L18.1225 33.5932L16.6577 31.0555L19.3773 29.4852C19.2389 28.9865 19.1411 28.4717 19.1411 27.9297C19.1411 27.3877 19.2389 26.8729 19.3773 26.3743L16.6577 24.804L18.1225 22.2663L20.8267 23.8279C21.5593 23.0826 22.4942 22.5492 23.5356 22.2785V19.1406H26.4653V22.2784C27.5067 22.5491 28.4415 23.0825 29.1742 23.8278L31.8784 22.2662L33.3432 24.8039L30.6236 26.3742C30.7619 26.8729 30.8598 27.3877 30.8598 27.9297Z",
fill: color
}));
});
export default ApiConnection;