@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
10 lines (9 loc) • 1.87 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconLibrary = (props) => {
const size = sizeMap[props?.size ?? "m"];
const label = props?.label ?? "Icon";
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: "M6 4.5H5C4.72386 4.5 4.5 4.72386 4.5 5V19C4.5 19.2761 4.72386 19.5 5 19.5H6C6.27614 19.5 6.5 19.2761 6.5 19V5C6.5 4.72386 6.27614 4.5 6 4.5ZM7.67443 3.90583C7.31725 3.36035 6.70071 3 6 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H6C6.70071 21 7.31725 20.6397 7.67443 20.0942C7.88029 19.7798 8 19.4039 8 19V5C8 4.59614 7.88029 4.22023 7.67443 3.90583ZM9.32557 3.90583C9.11971 4.22023 9 4.59614 9 5V19C9 19.4039 9.11971 19.7798 9.32557 20.0942C9.68275 20.6397 10.2993 21 11 21H12C13.1046 21 14 20.1046 14 19V5C14 3.89543 13.1046 3 12 3H11C10.2993 3 9.68275 3.36035 9.32557 3.90583ZM15.5 5.71526C15.0062 6.16499 14.7488 6.85177 14.8785 7.557L17.0484 19.3592C17.2482 20.4455 18.2907 21.1643 19.3771 20.9646L20.3606 20.7837C21.447 20.584 22.1657 19.5414 21.966 18.455L19.7961 6.65286C19.5963 5.5665 18.5538 4.84775 17.4674 5.04748L16.4839 5.22831C16.1027 5.29839 15.7669 5.47221 15.5 5.71526ZM12 4.5H11C10.7239 4.5 10.5 4.72386 10.5 5V19C10.5 19.2761 10.7239 19.5 11 19.5H12C12.2761 19.5 12.5 19.2761 12.5 19V5C12.5 4.72386 12.2761 4.5 12 4.5ZM17.7386 6.52276L16.7551 6.70358C16.4835 6.75352 16.3038 7.01416 16.3538 7.28576L18.5237 19.0879C18.5736 19.3595 18.8343 19.5392 19.1059 19.4893L20.0894 19.3085C20.361 19.2585 20.5407 18.9979 20.4907 18.7263L18.3208 6.9241C18.2709 6.65251 18.0102 6.47282 17.7386 6.52276Z" }) }));
};
IconLibrary.iconName = "library";
export default IconLibrary;