@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 2.42 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconFolderOpen = (props) => {
const size = sizeMap[props?.size ?? "m"];
const label = props?.label ?? "Icon";
switch (props?.size) {
case "l":
return (_jsx("svg", { viewBox: "0 0 24 24", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, "aria-label": label, role: "img", ...props, children: _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4 21H19.7048C20.6149 21 21.4103 20.3855 21.64 19.5048L23.5966 12.0048C23.8979 10.8498 23.13 9.71925 22 9.52823V7.5C22 6.39543 21.1046 5.5 20 5.5H12.7C12.5716 5.5 12.4481 5.45061 12.3552 5.36207L10.4543 3.55172C10.0824 3.19755 9.58855 3 9.075 3H4C2.89543 3 2 3.89543 2 5V19C2 20.1046 2.89543 21 4 21ZM20.5 9.5H6.04519C5.13506 9.5 4.3397 10.1145 4.10996 10.9952L3.5 13.3333V5C3.5 4.72386 3.72386 4.5 4 4.5H9.075C9.20339 4.5 9.32686 4.54939 9.41983 4.63793L11.3207 6.44828C11.6926 6.80245 12.1864 7 12.7 7H20C20.2761 7 20.5 7.22386 20.5 7.5V9.5ZM19.7048 19.5C19.9323 19.5 20.1312 19.3464 20.1886 19.1262L22.1451 11.6262C22.2278 11.3094 21.9887 11 21.6613 11H6.04519C5.81766 11 5.61882 11.1536 5.56139 11.3738L3.60486 18.8738C3.52222 19.1906 3.76128 19.5 4.08867 19.5H19.7048Z" }) }));
default:
return (_jsx("svg", { viewBox: "0 0 20 20", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, "aria-label": label, role: "img", ...props, children: _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.08579 3.58579C8.71071 3.21071 8.20201 3 7.67157 3H4C2.89543 3 2 3.89543 2 5V15C2 16.1046 2.89543 17 4 17H15.8085C16.6693 17 17.4336 16.4491 17.7058 15.6325L19.3725 10.6325C19.7463 9.51096 19.0736 8.35772 18 8.06874V7C18 5.89543 17.1046 5 16 5H10.9142C10.649 5 10.3946 4.89464 10.2071 4.70711L9.08579 3.58579ZM17 8V7C17 6.44772 16.5523 6 16 6H10.9142C10.3838 6 9.87507 5.78929 9.5 5.41421L8.37868 4.29289C8.19114 4.10536 7.93679 4 7.67157 4H4C3.44772 4 3 4.44772 3 5V11.75L3.79415 9.36754C4.06638 8.55086 4.83066 8 5.69152 8H17ZM4.02485 16H15.8085C16.2389 16 16.6211 15.7246 16.7572 15.3162L18.4238 10.3162C18.6397 9.6687 18.1577 9 17.4751 9H5.69152C5.26109 9 4.87895 9.27543 4.74284 9.68377L3.07617 14.6838C2.86032 15.3313 3.34229 16 4.02485 16Z" }) }));
}
};
IconFolderOpen.iconName = "folder-open";
export default IconFolderOpen;