@scaleflex/icons
Version:
SVG icons as React components
25 lines • 1.67 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 Share = 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": "Share",
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: "M39.8788 33.3333C37.483 33.3333 35.2955 34.375 33.733 36.0417L18.6288 27.3958C18.8372 26.6667 18.9413 25.8333 18.9413 25C18.9413 24.1667 18.8372 23.3333 18.6288 22.6042L33.733 13.9583C35.2955 15.625 37.3788 16.6667 39.8788 16.6667C44.4622 16.6667 48.2122 12.9167 48.2122 8.33333C48.2122 3.75 44.4622 0 39.8788 0C35.2955 0 31.5455 3.75 31.5455 8.33333C31.5455 9.0625 31.6496 9.68751 31.7538 10.3125L16.4413 19.0625C14.983 17.6042 12.8997 16.6667 10.608 16.6667C6.02466 16.6667 2.27466 20.4167 2.27466 25C2.27466 29.5833 6.02466 33.3333 10.608 33.3333C12.8997 33.3333 14.8788 32.3958 16.4413 30.9375L31.7538 39.6875C31.6496 40.3125 31.5455 40.9375 31.5455 41.6667C31.5455 46.25 35.2955 50 39.8788 50C44.4622 50 48.2122 46.25 48.2122 41.6667C48.2122 37.0833 44.4622 33.3333 39.8788 33.3333Z",
fill: color
}));
});
export default Share;