UNPKG

@elgato/icons

Version:

Icons used throughout the Elgato ecosystem.

15 lines (14 loc) 3.71 kB
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { sizeMap } from "../../metadata/sizing.js"; const IconReceipt = (props) => { const size = sizeMap[props?.size ?? "m"]; const label = props?.label ?? "Icon"; switch (props?.size) { case "l": return (_jsxs("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", { d: "M7.75 6C7.33579 6 7 6.33579 7 6.75C7 7.16421 7.33579 7.5 7.75 7.5H16.25C16.6642 7.5 17 7.16421 17 6.75C17 6.33579 16.6642 6 16.25 6H7.75Z" }), _jsx("path", { d: "M7 9.75C7 9.33579 7.33579 9 7.75 9H11.25C11.6642 9 12 9.33579 12 9.75C12 10.1642 11.6642 10.5 11.25 10.5H7.75C7.33579 10.5 7 10.1642 7 9.75Z" }), _jsx("path", { d: "M7.75 12C7.33579 12 7 12.3358 7 12.75C7 13.1642 7.33579 13.5 7.75 13.5H11.25C11.6642 13.5 12 13.1642 12 12.75C12 12.3358 11.6642 12 11.25 12H7.75Z" }), _jsx("path", { d: "M13.5 9.75C13.5 9.33579 13.8358 9 14.25 9H16.25C16.6642 9 17 9.33579 17 9.75C17 10.1642 16.6642 10.5 16.25 10.5H14.25C13.8358 10.5 13.5 10.1642 13.5 9.75Z" }), _jsx("path", { d: "M14.25 12C13.8358 12 13.5 12.3358 13.5 12.75C13.5 13.1642 13.8358 13.5 14.25 13.5H16.25C16.6642 13.5 17 13.1642 17 12.75C17 12.3358 16.6642 12 16.25 12H14.25Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6 2C4.89543 2 4 2.89543 4 4V21.25C4 21.5557 4.18549 21.8307 4.46887 21.9453C4.75224 22.0599 5.0768 21.991 5.28924 21.7713L7.16667 19.8291L9.04409 21.7713C9.1854 21.9175 9.38001 22 9.58333 22C9.78665 22 9.98126 21.9175 10.1226 21.7713L12 19.8291L13.8774 21.7713C14.0187 21.9175 14.2133 22 14.4167 22C14.62 22 14.8146 21.9175 14.9559 21.7713L16.8333 19.8291L18.7108 21.7713C18.9232 21.991 19.2478 22.0599 19.5311 21.9453C19.8145 21.8307 20 21.5557 20 21.25V4C20 2.89543 19.1046 2 18 2H6ZM5.5 4C5.5 3.72386 5.72386 3.5 6 3.5H18C18.2761 3.5 18.5 3.72386 18.5 4V19.395L17.3726 18.2287C17.2313 18.0825 17.0367 18 16.8333 18C16.63 18 16.4354 18.0825 16.2941 18.2287L14.4167 20.1709L12.5392 18.2287C12.3979 18.0825 12.2033 18 12 18C11.7967 18 11.6021 18.0825 11.4608 18.2287L9.58333 20.1709L7.70591 18.2287C7.5646 18.0825 7.36999 18 7.16667 18C6.96335 18 6.76874 18.0825 6.62743 18.2287L5.5 19.395V4Z" })] })); default: return (_jsxs("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", { d: "M10.5 11C10.7761 11 11 11.2239 11 11.5C11 11.7761 10.7761 12 10.5 12H7.5C7.22386 12 7 11.7761 7 11.5C7 11.2239 7.22386 11 7.5 11H10.5Z" }), _jsx("path", { d: "M12.5 8C12.7761 8 13 8.22386 13 8.5C13 8.77614 12.7761 9 12.5 9H7.5C7.22386 9 7 8.77614 7 8.5C7 8.22386 7.22386 8 7.5 8H12.5Z" }), _jsx("path", { d: "M12.5 5C12.7761 5 13 5.22386 13 5.5C13 5.77614 12.7761 6 12.5 6H7.5C7.22386 6 7 5.77614 7 5.5C7 5.22386 7.22386 5 7.5 5H12.5Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14 2C15.1046 2 16 2.89543 16 4V17.5C16 17.6881 15.8941 17.86 15.7266 17.9453C15.559 18.0305 15.3581 18.0148 15.2061 17.9043L12.75 16.1172L10.2939 17.9043C10.1186 18.0317 9.88135 18.0317 9.70605 17.9043L7.25 16.1172L4.79395 17.9043C4.64191 18.0148 4.44097 18.0305 4.27344 17.9453C4.10585 17.86 4 17.6881 4 17.5V4C4 2.89543 4.89543 2 6 2H14ZM6 3C5.44772 3 5 3.44772 5 4V16.5176L6.95605 15.0957L7.02441 15.0537C7.18969 14.9701 7.39057 14.9842 7.54395 15.0957L10 16.8818L12.4561 15.0957L12.5244 15.0537C12.6897 14.9701 12.8906 14.9842 13.0439 15.0957L15 16.5176V4C15 3.44772 14.5523 3 14 3H6Z" })] })); } }; IconReceipt.iconName = "receipt"; export default IconReceipt;