UNPKG

@guruhotel/aura-icons

Version:

🎨 Icon library designed by the Guruhotel team for Aura UI

40 lines (39 loc) • 3.14 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 StyledKeyRegular = ({ 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: "M15.75 6.75C15.75 5.92031 16.4203 5.25 17.25 5.25C18.0797 5.25 18.75 5.92031 18.75 6.75C18.75 7.57969 18.0797 8.25 17.25 8.25C16.4203 8.25 15.75 7.57969 15.75 6.75ZM15.75 16.5C15.3047 16.5 14.8688 16.4672 14.4422 16.3969L13.1297 17.6297C12.9609 17.8828 12.675 18 12.375 18H10.5V19.875C10.5 20.4984 9.99844 21 9.375 21H7.5V22.875C7.5 23.4984 6.99844 24 6.375 24H1.125C0.503906 24 0 23.4984 0 22.875V17.625C0 17.325 0.118547 17.0391 0.329484 16.8281L7.60312 9.55781C7.5375 9.13125 7.5 8.69531 7.5 8.25C7.5 3.69375 11.1938 0 15.75 0C20.3062 0 24 3.69375 24 8.25C24 12.8062 20.3062 16.5 15.75 16.5ZM15.75 14.25C19.0641 14.25 21.75 11.5641 21.75 8.25C21.75 4.93594 19.0641 2.25 15.75 2.25C12.4359 2.25 9.75 4.93594 9.75 8.25C9.75 8.57344 9.77344 8.89219 9.825 9.20156L10.0031 10.3359L2.20781 18.0891V21.75H5.20781V18.75H8.20781V15.75H11.9109L13.6641 13.9969L14.7984 14.175C15.1078 14.2266 15.4266 14.25 15.75 14.25Z" }) }) }); }; const ForwardRef = /*#__PURE__*/(0, _react.forwardRef)(StyledKeyRegular); const KeyRegular = /*#__PURE__*/(0, _react.memo)(ForwardRef); var _default = KeyRegular; exports.default = _default; module.exports = exports.default;