@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 4.58 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconCodeBuild = (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: "M4.71962 14.2194C5.0125 13.9268 5.48734 13.9267 5.78017 14.2194C6.07299 14.5122 6.07284 14.9871 5.78017 15.28L3.06044 17.9997L5.78017 20.7194L5.83192 20.7761C6.07217 21.0706 6.05456 21.5054 5.78017 21.78C5.50556 22.0546 5.07084 22.072 4.77626 21.8317L4.71962 21.78L1.46962 18.53C1.17683 18.2371 1.17676 17.7623 1.46962 17.4694L4.71962 14.2194Z" }), _jsx("path", { d: "M8.21962 14.2194C8.5125 13.9268 8.98734 13.9267 9.28017 14.2194L12.5302 17.4694C12.823 17.7622 12.8228 18.2371 12.5302 18.53L9.28017 21.78L9.22353 21.8317C8.92894 22.072 8.49422 22.0546 8.21962 21.78C7.94511 21.5054 7.92758 21.0706 8.16786 20.7761L8.21962 20.7194L10.9393 17.9997L8.21962 15.28C7.92683 14.9871 7.92676 14.5123 8.21962 14.2194Z" }), _jsx("path", { d: "M4.99989 5.07197C4.99989 3.53241 6.66658 2.56987 7.99989 3.33954L19.9999 10.2683C21.3331 11.0381 21.3331 12.9623 19.9999 13.7321L14.6415 16.8239C14.3195 17.0097 13.9103 16.9318 13.6796 16.6403C13.3961 16.2817 13.4966 15.7546 13.8925 15.5261L19.2499 12.4333C19.5832 12.2409 19.5831 11.7596 19.2499 11.5671L7.24989 4.63837C6.9166 4.44615 6.49989 4.68715 6.49989 5.07197V11.7653C6.49987 12.1795 6.16406 12.5153 5.74989 12.5153C5.3357 12.5153 4.99992 12.1795 4.99989 11.7653V5.07197Z" }), _jsx("path", { d: "M4.71962 14.2194C5.0125 13.9268 5.48734 13.9267 5.78017 14.2194C6.07299 14.5122 6.07284 14.9871 5.78017 15.28L3.06044 17.9997L5.78017 20.7194L5.83192 20.7761C6.07217 21.0706 6.05456 21.5054 5.78017 21.78C5.50556 22.0546 5.07084 22.072 4.77626 21.8317L4.71962 21.78L1.46962 18.53C1.17683 18.2371 1.17676 17.7623 1.46962 17.4694L4.71962 14.2194Z" }), _jsx("path", { d: "M8.21962 14.2194C8.5125 13.9268 8.98734 13.9267 9.28017 14.2194L12.5302 17.4694C12.823 17.7622 12.8228 18.2371 12.5302 18.53L9.28017 21.78L9.22353 21.8317C8.92894 22.072 8.49422 22.0546 8.21962 21.78C7.94511 21.5054 7.92758 21.0706 8.16786 20.7761L8.21962 20.7194L10.9393 17.9997L8.21962 15.28C7.92683 14.9871 7.92676 14.5123 8.21962 14.2194Z" }), _jsx("path", { d: "M4.99989 5.07197C4.99989 3.53241 6.66658 2.56987 7.99989 3.33954L19.9999 10.2683C21.3331 11.0381 21.3331 12.9623 19.9999 13.7321L14.6415 16.8239C14.3195 17.0097 13.9103 16.9318 13.6796 16.6403C13.3961 16.2817 13.4966 15.7546 13.8925 15.5261L19.2499 12.4333C19.5832 12.2409 19.5831 11.7596 19.2499 11.5671L7.24989 4.63837C6.9166 4.44615 6.49989 4.68715 6.49989 5.07197V11.7653C6.49987 12.1795 6.16406 12.5153 5.74989 12.5153C5.3357 12.5153 4.99992 12.1795 4.99989 11.7653V5.07197Z" })] }));
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: "M4.22498 12.0817C4.41896 11.9538 4.68312 11.9755 4.85388 12.1461C5.02454 12.3169 5.0462 12.581 4.91834 12.775L4.85388 12.8531L2.7074 14.9996L4.85388 17.1461L4.91834 17.2242C5.04635 17.4182 5.02444 17.6823 4.85388 17.8531C4.68306 18.024 4.41904 18.0457 4.22498 17.9176L4.14685 17.8531L1.64685 15.3531C1.45175 15.1579 1.45165 14.8413 1.64685 14.6461L4.14685 12.1461L4.22498 12.0817Z" }), _jsx("path", { d: "M7.14685 12.1461C7.31768 11.9756 7.58181 11.9537 7.77576 12.0817L7.85388 12.1461L10.3539 14.6461C10.5489 14.8413 10.5488 15.1579 10.3539 15.3531L7.85388 17.8531L7.77576 17.9176C7.58172 18.0457 7.31772 18.0239 7.14685 17.8531C6.97614 17.6823 6.95428 17.4183 7.0824 17.2242L7.14685 17.1461L9.29334 14.9996L7.14685 12.8531L7.0824 12.775C6.95441 12.581 6.97606 12.3169 7.14685 12.1461Z" }), _jsx("path", { d: "M4.00037 4.80432C4.00037 3.26472 5.66704 2.30211 7.00037 3.0719L16.0004 8.26819C17.3333 9.03806 17.3334 10.9622 16.0004 11.7321L11.7435 14.1891C11.5309 14.3116 11.2606 14.2613 11.1058 14.0709C10.9122 13.8323 10.9776 13.4767 11.2435 13.3229L15.5004 10.8658C16.1666 10.4809 16.1666 9.51939 15.5004 9.1344L6.50037 3.93811C5.8337 3.55321 5.00037 4.03452 5.00037 4.80432V10.4996C5.00037 10.7757 4.7764 10.9995 4.50037 10.9996C4.22423 10.9996 4.00037 10.7758 4.00037 10.4996V4.80432Z" })] }));
}
};
IconCodeBuild.iconName = "code-build";
export default IconCodeBuild;