@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 3.13 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconCompose = (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", { fillRule: "evenodd", clipRule: "evenodd", d: "M19.4142 2.91422L21.0858 4.58579C21.8668 5.36684 21.8668 6.63317 21.0858 7.41422L12.8917 15.6083C12.6354 15.8646 12.3142 16.0464 11.9626 16.1344L8.1169 17.0958C7.38452 17.2789 6.72113 16.6155 6.90423 15.8831L7.86564 12.0374C7.95356 11.6858 8.1354 11.3646 8.39171 11.1083L16.5858 2.91422C17.3668 2.13317 18.6332 2.13317 19.4142 2.91422ZM20.0251 5.64645L18.3536 3.97488C18.1583 3.77961 17.8417 3.77961 17.6464 3.97488L16.341 5.28033L18.7197 7.65901L20.0251 6.35356C20.2204 6.15829 20.2204 5.84171 20.0251 5.64645ZM17.659 8.71967L15.2803 6.34099L9.45237 12.169C9.3883 12.233 9.34284 12.3133 9.32086 12.4012L8.56155 15.4385L11.5988 14.6791C11.6867 14.6572 11.767 14.6117 11.8311 14.5476L17.659 8.71967Z" }), _jsx("path", { d: "M13 3.75C13 3.33579 12.6642 3 12.25 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V11.75C21 11.3358 20.6642 11 20.25 11C19.8358 11 19.5 11.3358 19.5 11.75V19C19.5 19.2761 19.2761 19.5 19 19.5H5C4.72386 19.5 4.5 19.2761 4.5 19V5C4.5 4.72386 4.72386 4.5 5 4.5H12.25C12.6642 4.5 13 4.16422 13 3.75Z" })] }));
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 3.00018C10.7761 3.00018 11 3.22404 11 3.50018C10.9999 3.77624 10.7761 4.00018 10.5 4.00018H5C4.44772 4.00018 4 4.4479 4 5.00018V15.0002C4.0001 15.5524 4.44778 16.0002 5 16.0002H15C15.5522 16.0002 15.9999 15.5524 16 15.0002V9.50018C16 9.22404 16.2239 9.00018 16.5 9.00018C16.7761 9.00018 17 9.22404 17 9.50018V15.0002C16.9999 16.0358 16.2127 16.8872 15.2041 16.9894L15 17.0002H5L4.7959 16.9894C3.85441 16.894 3.10628 16.1458 3.01074 15.2043L3 15.0002V5.00018C3 3.89561 3.89543 3.00018 5 3.00018H10.5Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.124 2.66913C15.0096 1.78391 16.4455 1.78376 17.3311 2.66913C18.2163 3.55465 18.2162 4.99059 17.3311 5.87616L10.3535 12.8537C10.2936 12.9136 10.2192 12.9573 10.1377 12.9807L6.6377 13.9807C6.4632 14.0305 6.27488 13.9819 6.14648 13.8537C6.01819 13.7253 5.96968 13.537 6.01953 13.3625L7.01953 9.86249L7.04004 9.80292C7.06498 9.74471 7.10146 9.69175 7.14648 9.64667L14.124 2.66913ZM7.94434 10.2619L7.22754 12.7707L9.7373 12.0539L15.042 6.74921L13.249 4.95624L7.94434 10.2619ZM16.624 3.37616C16.129 2.88131 15.3261 2.88146 14.8311 3.37616L13.9561 4.24921L15.749 6.04218L16.624 5.16913C17.1187 4.67408 17.1188 3.87115 16.624 3.37616Z" })] }));
}
};
IconCompose.iconName = "compose";
export default IconCompose;