@guruhotel/aura-icons
Version:
🎨 Icon library designed by the Guruhotel team for Aura UI
32 lines • 1.8 kB
JavaScript
import React, { forwardRef, memo } from "react";
import { AccessibleIcon } from "../accessible-icon";
import { StyledSvg, StyledPath } from "../styles";
import { jsx as _jsx } from "react/jsx-runtime";
const StyledKeyRegular = ({
label,
color = "#000000",
className = "",
css = {},
viewBox = "0 0 24 24"
}, ref) => {
return /*#__PURE__*/_jsx(AccessibleIcon, {
label: label,
children: /*#__PURE__*/_jsx(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__*/_jsx(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__*/forwardRef(StyledKeyRegular);
const KeyRegular = /*#__PURE__*/memo(ForwardRef);
export default KeyRegular;