UNPKG

@pinuts/bsr-uikit-relaunch

Version:

BSR UI-KIT Relaunch

41 lines (40 loc) 3.73 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var React = _interopRequireWildcard(require("react")); var _propTypes = _interopRequireDefault(require("prop-types")); var _defaultIconPropValues = require("../_defaultIconPropValues.ts"); function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; } function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); } function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); } const Link = props => { const { width = _defaultIconPropValues.Icon48PropValues.width, height = _defaultIconPropValues.Icon48PropValues.height, fill = _defaultIconPropValues.Icon48PropValues.fill, ...restProps } = props; return /*#__PURE__*/React.createElement("svg", _extends({ xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 120 120", width: width, height: height, fill: "none" }, restProps), /*#__PURE__*/React.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M110.6 31.5125C110.6 25.318 108.243 20.0561 104.363 15.67C95.7295 7.08941 81.9561 7.17722 73.9348 15.6704L73.9113 15.6953L60.637 28.9695C59.4543 30.1523 59.4543 31.8127 60.637 32.9954C61.8197 34.1781 63.4802 34.1781 64.6629 32.9954L77.9129 19.7454C84.1502 13.5082 94.1498 13.5082 100.387 19.7454L100.481 19.8394L100.564 19.9432C102.959 22.9365 104.8 27.1607 104.8 31.5125C104.8 35.9461 102.893 39.6406 100.564 42.5517L100.481 42.6555L78.127 65.0095C71.8898 71.2467 61.8901 71.2467 55.6529 65.0095C54.4701 63.8267 52.8097 63.8267 51.627 65.0095C50.4443 66.1922 50.4443 67.8526 51.627 69.0353C55.8898 73.2982 61.6109 75.2224 66.89 75.2224C72.6707 75.2224 77.8719 73.3163 82.1529 69.0353L104.413 46.7754C108.694 42.4944 110.6 37.2932 110.6 31.5125ZM15.6739 104.107L15.6317 104.06L15.5871 104.015C11.8078 100.236 9.40002 94.4912 9.40002 88.7525C9.40002 82.9718 11.3061 77.7706 15.5871 73.4896L37.8714 51.2054L37.8949 51.1805C45.9316 42.671 59.7426 42.5992 68.373 51.2296C69.5558 52.4124 69.5558 54.0728 68.373 55.2555C67.1903 56.4382 65.5299 56.4382 64.3471 55.2555C58.1099 49.0182 48.1103 49.0182 41.873 55.2555L19.519 77.6095L19.436 77.7133C17.107 80.6244 15.2 84.3189 15.2 88.7525C15.2 93.0225 16.993 97.4246 20.2355 100.081C26.4788 106.227 36.4106 106.196 42.6171 99.9895L55.8671 86.7396C56.7474 85.8594 58.376 85.7525 59.893 87.2696C61.0758 88.4523 61.0758 90.1127 59.893 91.2954L46.643 104.545C42.362 108.826 37.1608 110.732 31.3801 110.732C25.5598 110.732 19.9025 108.805 15.6739 104.107Z", fill: fill, stroke: "none" })); }; Link.propTypes = { width: _propTypes.default.string, height: _propTypes.default.string, fill: _propTypes.default.string, stroke: _propTypes.default.string }; var _default = exports.default = Link;