UNPKG

@guruhotel/aura-icons

Version:

🎨 Icon library designed by the Guruhotel team for Aura UI

40 lines (39 loc) • 3.16 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 StyledChildRegular = ({ 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: "M21.2843 4.95939C20.9166 4.45689 20.2099 4.35095 19.7116 4.71695L16.5058 7.0682C13.7299 9.10445 9.77461 9.10445 6.99961 7.0682L3.79384 4.71695C3.29181 4.35142 2.58493 4.45736 2.21743 4.95939C1.8504 5.46095 1.95915 6.16408 2.45978 6.53439L5.66555 8.88564C6.16711 9.25314 6.70149 9.55782 7.24992 9.82501V22.875C7.24992 23.4984 7.75617 24 8.37492 24C8.99367 24 9.49992 23.4961 9.49992 22.875V18H13.9999V22.875C13.9999 23.4961 14.5038 24 15.1249 24C15.746 24 16.2499 23.4984 16.2499 22.875V9.82501C16.7988 9.55665 17.3323 9.25126 17.8343 8.88282L21.0401 6.53158C21.5421 6.16408 21.6499 5.46095 21.2843 4.95939ZM13.9999 15.75H9.49992V10.5984C10.2359 10.7625 10.9812 10.875 11.7499 10.875C12.5187 10.875 13.2659 10.7619 13.9999 10.5977V15.75ZM11.7499 6.75001C13.6132 6.75001 15.1249 5.2383 15.1249 3.37502C15.1249 1.51174 13.6155 0 11.7499 0C9.8843 0 8.33274 1.51174 8.33274 3.37502C8.33274 5.2383 9.88898 6.75001 11.7499 6.75001Z" }) }) }); }; const ForwardRef = /*#__PURE__*/(0, _react.forwardRef)(StyledChildRegular); const ChildRegular = /*#__PURE__*/(0, _react.memo)(ForwardRef); var _default = ChildRegular; exports.default = _default; module.exports = exports.default;