@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
10 lines (9 loc) • 1.22 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", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 24 24", width: size, height: size, "aria-label": label, role: "img", ...props, children: _jsx("path", { fillRule: "evenodd", d: "M6 4.5H5a.5.5 0 0 0-.5.5v14a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V5a.5.5 0 0 0-.5-.5m1.674-.594A2 2 0 0 0 6 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2V5c0-.404-.12-.78-.326-1.094m1.652 0A2 2 0 0 0 9 5v14a1.998 1.998 0 0 0 2 2h1a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2h-1c-.7 0-1.317.36-1.674.906m6.174 1.81a2 2 0 0 0-.621 1.841l2.17 11.802a2 2 0 0 0 2.328 1.606l.984-.181a2 2 0 0 0 1.605-2.329l-2.17-11.802a2 2 0 0 0-2.329-1.606l-.983.181a2 2 0 0 0-.984.487M12 4.5h-1a.5.5 0 0 0-.5.5v14a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5V5a.5.5 0 0 0-.5-.5m5.739 2.023-.984.18a.5.5 0 0 0-.401.583l2.17 11.802a.5.5 0 0 0 .582.401l.983-.18a.5.5 0 0 0 .402-.583L18.32 6.924a.5.5 0 0 0-.582-.401", clipRule: "evenodd" }) }));
};
IconLibrary.iconName = "library";
export default IconLibrary;