@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 4.31 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconDebug = (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: "M7 12.9997C8.26724 12.9997 9.39603 13.5899 10.1289 14.5095C10.1683 14.5031 10.2088 14.4997 10.25 14.4997H12.25C12.6641 14.4997 12.9998 14.8356 13 15.2497C13 15.6639 12.6642 15.9997 12.25 15.9997H10.874C10.9563 16.3192 11 16.6545 11 16.9997V17.2497H12.25C12.6641 17.2497 12.9998 17.5856 13 17.9997C13 18.4139 12.6642 18.7497 12.25 18.7497H11V18.9997L10.9951 19.2057C10.9813 19.4784 10.9398 19.7441 10.874 19.9997H12.25C12.6641 19.9997 12.9998 20.3356 13 20.7497C13 21.1639 12.6642 21.4997 12.25 21.4997H10.25C10.2091 21.4997 10.1691 21.4953 10.1299 21.4889C9.39694 22.4091 8.26778 22.9997 7 22.9997C5.732 22.9997 4.60208 22.4094 3.86914 21.4889C3.83027 21.4952 3.79062 21.4997 3.75 21.4997H1.75C1.33579 21.4997 1 21.1639 1 20.7497C1.00017 20.3356 1.33589 19.9997 1.75 19.9997H3.12598C3.0602 19.7441 3.01872 19.4784 3.00488 19.2057L3 18.9997V18.7497H1.75C1.33579 18.7497 1 18.4139 1 17.9997C1.00017 17.5856 1.33589 17.2497 1.75 17.2497H3V16.9997C3.00003 16.6545 3.04374 16.3192 3.12598 15.9997H1.75C1.33579 15.9997 1 15.6639 1 15.2497C1.00017 14.8356 1.33589 14.4997 1.75 14.4997H3.87891C4.61199 13.5858 5.73725 12.9997 7 12.9997ZM4.5 18.9997C4.5 20.3804 5.61929 21.4997 7 21.4997C8.38071 21.4997 9.5 20.3804 9.5 18.9997V17.9997H4.5V18.9997ZM7 14.4997C5.79061 14.4997 4.78154 15.3587 4.5498 16.4997H9.4502C9.21846 15.3587 8.20939 14.4997 7 14.4997Z" }), _jsx("path", { d: "M5 5.07195C5 3.5324 6.66669 2.56986 8 3.33953L20 10.2682C21.3332 11.0381 21.3333 12.9623 20 13.7321L15.5713 16.2878C15.0374 16.5957 14.3806 16.1635 14.4521 15.5514C14.4797 15.3163 14.6172 15.1073 14.8223 14.9889L19.25 12.4333C19.5833 12.2408 19.5833 11.7595 19.25 11.5671L7.25 4.63836C6.9167 4.44613 6.5 4.68713 6.5 5.07195V10.9284C6.5 11.2761 6.26115 11.5788 5.92285 11.6589C5.45189 11.7702 5 11.4123 5 10.9284V5.07195Z" })] }));
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", { fillRule: "evenodd", clipRule: "evenodd", d: "M6 10.9997C7.30569 10.9997 8.41394 11.8352 8.82617 12.9997H10C10.276 12.9997 10.4997 13.2237 10.5 13.4997C10.4999 13.7757 10.2761 13.9997 10 13.9997H9V14.9997H10L10.1006 15.0094C10.3284 15.0559 10.4998 15.2582 10.5 15.4997C10.4999 15.7413 10.3285 15.9433 10.1006 15.9899L10 15.9997H9C8.99998 16.3505 8.93684 16.6868 8.82617 16.9997H10C10.276 16.9997 10.4997 17.2237 10.5 17.4997C10.4999 17.7757 10.2761 17.9997 10 17.9997H8.23145C7.68219 18.612 6.88734 18.9997 6 18.9997C5.11266 18.9997 4.31781 18.612 3.76855 17.9997H2C1.72391 17.9997 1.50008 17.7757 1.5 17.4997C1.50026 17.2237 1.72402 16.9997 2 16.9997H3.17383C3.06316 16.6868 3.00002 16.3505 3 15.9997H2C1.72391 15.9997 1.50008 15.7757 1.5 15.4997C1.50026 15.2237 1.72402 14.9997 2 14.9997H3V13.9997H2C1.72391 13.9997 1.50008 13.7757 1.5 13.4997C1.50026 13.2237 1.72402 12.9997 2 12.9997H3.17383C3.58606 11.8352 4.69431 10.9997 6 10.9997ZM4 15.9997C4.00008 17.1042 4.89548 17.9997 6 17.9997C7.10452 17.9997 7.99992 17.1042 8 15.9997V14.9997H4V15.9997ZM6 11.9997C4.89559 11.9997 4.00026 12.8953 4 13.9997H8C7.99974 12.8953 7.10441 11.9997 6 11.9997Z" }), _jsx("path", { d: "M4 4.80338C4.00044 3.26416 5.66691 2.30243 7 3.07193L16 8.26822L16.1211 8.34342C17.2927 9.13061 17.2926 10.8686 16.1211 11.6559L16 11.7311L12.248 13.8981C12.009 14.0359 11.7035 13.9535 11.5654 13.7145C11.4277 13.4755 11.5092 13.17 11.748 13.0319L15.5 10.8659L15.6172 10.7868C16.1272 10.3908 16.1274 9.60846 15.6172 9.21256L15.5 9.13346L6.5 3.93717C5.83354 3.55275 5.00044 4.03412 5 4.80338V9.7565C4.99992 10.0326 4.77609 10.2565 4.5 10.2565C4.22391 10.2565 4.00008 10.0326 4 9.7565V4.80338Z" })] }));
}
};
IconDebug.iconName = "debug";
export default IconDebug;