@guruhotel/aura-icons
Version:
🎨 Icon library designed by the Guruhotel team for Aura UI
32 lines • 1.7 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 StyledImageSolid = ({
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: "M20.9579 1.5H2.95787C1.34256 1.5 -0.000366211 2.84297 -0.000366211 4.5V19.5C-0.000366211 21.157 1.3426 22.5 2.95745 22.5H20.9574C22.6145 22.5 23.9574 21.157 23.9574 19.5V4.5C23.9579 2.84297 22.6547 1.5 20.9579 1.5ZM5.20787 4.5C6.45053 4.5 7.45787 5.50734 7.45787 6.75C7.45787 7.99266 6.49225 9 5.20787 9C3.9235 9 2.95787 7.99266 2.95787 6.75C2.95787 5.50734 4.00693 4.5 5.20787 4.5ZM20.911 19.1063C20.7797 19.35 20.5266 19.5 20.2501 19.5H3.84428C3.56204 19.5 3.30381 19.3416 3.17584 19.0898C3.04787 18.8383 3.07201 18.5363 3.23837 18.308L6.51962 13.808C6.661 13.6125 6.886 13.5 7.12506 13.5C7.36412 13.5 7.58987 13.6144 7.73115 13.8082L9.25271 15.8946L13.6262 9.37425C13.7672 9.12656 14.0016 9 14.2501 9C14.4985 9 14.7352 9.12525 14.874 9.33398L20.874 18.334C21.0282 18.5625 21.0422 18.8578 20.911 19.1063Z"
})
})
});
};
const ForwardRef = /*#__PURE__*/forwardRef(StyledImageSolid);
const ImageSolid = /*#__PURE__*/memo(ForwardRef);
export default ImageSolid;