@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 2.86 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconReceiptFilled = (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 4C4 2.89543 4.89543 2 6 2H18C19.1046 2 20 2.89543 20 4V21.25C20 21.5557 19.8145 21.8307 19.5311 21.9453C19.2478 22.0599 18.9232 21.991 18.7108 21.7713L16.8333 19.8291L14.9559 21.7713C14.8146 21.9175 14.62 22 14.4167 22C14.2133 22 14.0187 21.9175 13.8774 21.7713L12 19.8291L10.1226 21.7713C9.98126 21.9175 9.78665 22 9.58333 22C9.38001 22 9.1854 21.9175 9.04409 21.7713L7.16667 19.8291L5.28924 21.7713C5.0768 21.991 4.75224 22.0599 4.46887 21.9453C4.18549 21.8307 4 21.5557 4 21.25V4ZM7.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.75ZM7 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.75ZM7.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.75ZM13.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.75ZM14.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" }) }));
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: "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 2H14ZM7.5 11C7.22386 11 7 11.2239 7 11.5C7 11.7761 7.22386 12 7.5 12H10.5C10.7761 12 11 11.7761 11 11.5C11 11.2239 10.7761 11 10.5 11H7.5ZM7.5 8C7.22386 8 7 8.22386 7 8.5C7 8.77614 7.22386 9 7.5 9H12.5C12.7761 9 13 8.77614 13 8.5C13 8.22386 12.7761 8 12.5 8H7.5ZM7.5 5C7.22386 5 7 5.22386 7 5.5C7 5.77614 7.22386 6 7.5 6H12.5C12.7761 6 13 5.77614 13 5.5C13 5.22386 12.7761 5 12.5 5H7.5Z" }) }));
}
};
IconReceiptFilled.iconName = "receipt--filled";
export default IconReceiptFilled;