@guruhotel/aura-icons
Version:
🎨 Icon library designed by the Guruhotel team for Aura UI
40 lines (39 loc) • 3.59 kB
JavaScript
;
exports.__esModule = true;
exports.default = void 0;
var _react = _interopRequireWildcard(require("react"));
var _accessibleIcon = require("../accessible-icon");
var _styles = require("../styles");
var _jsxRuntime = require("react/jsx-runtime");
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
const StyledLinkSolid = ({
label,
color = "#000000",
className = "",
css = {},
viewBox = "0 0 24 24"
}, ref) => {
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_accessibleIcon.AccessibleIcon, {
label: label,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.StyledSvg, {
className: className,
css: css,
viewBox: viewBox,
xmlns: "http://www.w3.org/2000/svg",
xmlnsXlink: "http://www.w3.org/1999/xlink",
ref: ref,
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.StyledPath, {
css: {
fill: `${color}`
},
d: "M6.46875 6.99431C8.55375 4.90968 12.0188 4.90968 14.1038 6.99431C15.9788 8.86931 16.2563 11.8581 14.715 14.0143L14.6738 14.0743C14.2875 14.6106 13.5375 14.7381 13.0013 14.3518C12.4613 13.9656 12.3338 13.2156 12.72 12.6793L12.7613 12.6193C13.62 11.4156 13.485 9.76931 12.4388 8.72306C11.2613 7.54556 9.34501 7.54556 8.16375 8.72306L3.95625 12.9343C2.77462 14.0818 2.77462 16.0281 3.95625 17.2093C4.99875 18.2556 6.64875 18.3906 7.84875 17.5318L7.90875 17.4568C8.44875 17.1043 9.19876 17.2281 9.58126 17.7681C9.96751 18.3081 9.84376 19.0581 9.30376 19.4443L9.24376 19.4856C7.05375 21.0268 4.1325 20.7793 2.25787 18.9081C0.14028 16.7893 0.14028 13.3543 2.25787 11.2393L6.46875 6.99431ZM17.5313 16.3281C15.4125 18.4468 11.9813 18.4468 9.86251 16.3281C7.9875 14.4531 7.74375 11.4981 9.28501 9.34181L9.32626 9.28181C9.67876 8.74556 10.4288 8.61806 10.9988 9.00431C11.5388 9.35681 11.6663 10.1068 11.28 10.6768L11.2388 10.7368C10.38 11.9068 10.515 13.5868 11.5613 14.6331C12.7388 15.8106 14.655 15.8106 15.8363 14.6331L20.0438 10.4218C21.225 9.24056 21.225 7.29431 20.0438 6.14681C19.0013 5.10168 17.3513 4.96518 16.1513 5.8243L16.0913 5.86555C15.5513 6.25181 14.8013 6.09431 14.4188 5.5873C14.0325 5.04805 14.1563 4.29843 14.6963 3.9133L14.7563 3.8713C16.9125 2.33046 19.8675 2.57493 21.7425 4.44955C23.8613 6.56681 23.8613 10.0018 21.7425 12.1168L17.5313 16.3281Z"
})
})
});
};
const ForwardRef = /*#__PURE__*/(0, _react.forwardRef)(StyledLinkSolid);
const LinkSolid = /*#__PURE__*/(0, _react.memo)(ForwardRef);
var _default = LinkSolid;
exports.default = _default;
module.exports = exports.default;