UNPKG

@guruhotel/aura-icons

Version:

🎨 Icon library designed by the Guruhotel team for Aura UI

40 lines (39 loc) • 2.86 kB
"use strict"; 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 StyledCrossSolid = ({ 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: "M23.295 20.1041C24.2325 21.0416 24.2325 22.5604 23.295 23.4979C22.83 23.9666 22.215 24.1991 21.6 24.1991C20.985 24.1991 20.3715 23.9648 19.9035 23.496L12 15.5966L4.09725 23.4941C3.6285 23.9666 3.01425 24.1991 2.4 24.1991C1.78575 24.1991 1.17225 23.9666 0.703125 23.4941C-0.234375 22.5566 -0.234375 21.0379 0.703125 20.1004L8.60812 12.1954L0.703125 4.29414C-0.234375 3.35664 -0.234375 1.83789 0.703125 0.90039C1.64062 -0.0371093 3.15937 -0.0371093 4.09687 0.90039L12 8.80914L19.905 0.904141C20.8425 -0.0333591 22.3612 -0.0333591 23.2987 0.904141C24.2362 1.84164 24.2362 3.36039 23.2987 4.29789L15.3937 12.2029L23.295 20.1041Z" }) }) }); }; const ForwardRef = /*#__PURE__*/(0, _react.forwardRef)(StyledCrossSolid); const CrossSolid = /*#__PURE__*/(0, _react.memo)(ForwardRef); var _default = CrossSolid; exports.default = _default; module.exports = exports.default;