@scaleflex/icons
Version:
SVG icons as React components
28 lines • 1.77 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 ExternalLink = function ExternalLink(_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": "ExternalLink",
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: "M47.6904 0H33.0511C31.7753 0 30.7413 1.0575 30.7413 2.36225C30.7413 3.667 31.7753 4.72451 33.0511 4.72451H42.1139L19.965 27.3759C19.0629 28.2985 19.0629 29.7941 19.965 30.7166C20.4162 31.1778 21.0073 31.4085 21.5984 31.4085C22.1894 31.4085 22.7805 31.1778 23.2317 30.7166L45.3806 8.06526V17.334C45.3806 18.6387 46.4146 19.6962 47.6904 19.6962C48.9662 19.6962 50.0002 18.6387 50.0002 17.334V2.36252C50.0002 1.0575 48.9662 0 47.6904 0Z",
fill: color
}), /*#__PURE__*/React.createElement("path", {
d: "M38.2411 19.696C36.9653 19.696 35.9313 20.7535 35.9313 22.0582V45.2755H4.62V13.2538H28.6881C29.9639 13.2538 30.998 12.1963 30.998 10.8916C30.998 9.58683 29.9639 8.52933 28.6881 8.52933H2.31015C1.03435 8.52933 0.000305176 9.58683 0.000305176 10.8916V47.6377C0.000305176 48.9425 1.03435 50 2.31015 50H38.2411C39.5169 50 40.551 48.9425 40.551 47.6377V22.0582C40.551 20.7535 39.5169 19.696 38.2411 19.696Z",
fill: color
}));
};
export default ExternalLink;