UNPKG

@scaleflex/icons

Version:
28 lines 2.96 kB
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 Link = 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": "Link", 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: "M30.7796 19.4689C30.1549 18.8442 29.5302 18.3237 28.8015 17.9072C26.9274 16.6579 24.7411 16.0332 22.5548 16.0332C19.4314 16.0332 16.5163 17.2825 14.33 19.4689L3.71058 30.0882C1.52424 32.2746 0.274902 35.1897 0.274902 38.3131C0.274902 44.768 5.48048 49.9735 11.9354 49.9735C15.0587 49.9735 17.9739 48.7242 20.1602 46.5379L28.9056 37.7925C29.1138 37.5843 29.1138 37.3761 29.1138 37.1678C29.1138 36.7514 28.6973 36.3349 28.2809 36.3349H27.9686C26.0946 36.3349 24.3247 36.0226 22.6589 35.2938C22.3465 35.1897 22.0342 35.1897 21.7219 35.502L15.4752 41.7487C13.4971 43.7269 10.3737 43.7269 8.3956 41.7487C6.41748 39.7706 6.41748 36.6473 8.3956 34.6692L19.015 24.1539C20.9931 22.1758 24.1164 22.1758 26.0946 24.1539C27.448 25.4032 29.4261 25.4032 30.7796 24.1539C31.3001 23.6333 31.7166 22.8004 31.7166 22.0717C31.8207 21.1347 31.4042 20.1977 30.7796 19.4689Z", fill: color }), /*#__PURE__*/React.createElement("path", { d: "M46.8127 3.43568C42.2318 -1.14523 34.8399 -1.14523 30.3631 3.43568L21.6177 12.181C21.4095 12.3893 21.3054 12.8057 21.4095 13.118C21.5136 13.4304 21.826 13.6386 22.2424 13.6386H22.5547C24.4288 13.6386 26.1986 13.9509 27.8644 14.6797C28.1768 14.7838 28.4891 14.7838 28.8014 14.4715L35.0481 8.22481C37.0262 6.24669 40.1496 6.24669 42.1277 8.22481C44.1058 10.2029 44.1058 13.3263 42.1277 15.3044L34.2152 23.2169L31.5083 25.8196C29.5302 27.7978 26.4069 27.7978 24.4288 25.8196C23.0753 24.5703 21.0972 24.5703 19.7437 25.8196C19.2232 26.3402 18.8067 27.1731 18.8067 27.9019C18.7026 28.8389 19.1191 29.7759 19.7437 30.5047C20.6807 31.4417 21.826 32.2746 23.0753 32.7951C23.2835 32.8992 23.3876 32.8992 23.5959 33.0033C23.8041 33.1075 23.9082 33.1075 24.1164 33.2116C24.3246 33.3157 24.4288 33.3157 24.637 33.4198L25.1575 33.5239C25.4699 33.628 25.7822 33.628 26.1986 33.7321C26.6151 33.8362 27.0315 33.8362 27.448 33.8362H28.0727L28.5932 33.7321C28.8014 33.7321 29.0097 33.7321 29.2179 33.7321H29.4261L30.0508 33.628H30.3631L30.8837 33.5239H30.9878C33.07 33.0033 34.944 31.9622 36.4016 30.5047L47.0209 19.8853C51.3936 15.3044 51.3936 8.01659 46.8127 3.43568Z", fill: color })); }); export default Link;