@guruhotel/aura-icons
Version:
🎨 Icon library designed by the Guruhotel team for Aura UI
40 lines (39 loc) • 2.81 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 StyledKeySolid = ({
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: "M13.2328 16.1109L11.6297 17.6297C11.4609 17.8828 11.175 18 10.875 18H9V19.875C9 20.4984 8.49844 21 7.875 21H6V22.875C6 23.4984 5.49844 24 4.875 24H1.125C0.503906 24 0 23.4984 0 22.875V19.125C0 18.825 0.118547 18.5391 0.329484 18.3281L7.88906 10.7672C7.63594 9.975 7.5 9.12656 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.5C14.8734 16.5 14.025 16.3641 13.2328 16.1109ZM17.625 8.25C18.6609 8.25 19.5 7.41094 19.5 6.375C19.5 5.33906 18.6609 4.5 17.625 4.5C16.5891 4.5 15.75 5.33906 15.75 6.375C15.75 7.41094 16.5891 8.25 17.625 8.25Z"
})
})
});
};
const ForwardRef = /*#__PURE__*/(0, _react.forwardRef)(StyledKeySolid);
const KeySolid = /*#__PURE__*/(0, _react.memo)(ForwardRef);
var _default = KeySolid;
exports.default = _default;
module.exports = exports.default;