@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 4.17 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconQuestionMark = (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: "M6.99946 8.28071L6.99921 8.28475L6.99914 8.28609C6.97925 8.69886 6.62905 9.018 6.21596 8.99923C5.80217 8.98042 5.48198 8.62973 5.50079 8.21594L6.25001 8.25C5.50079 8.21594 5.50079 8.21594 5.50079 8.21594L5.50087 8.21418L5.50098 8.21191L5.50129 8.20584L5.50235 8.18774C5.50326 8.17307 5.50462 8.15322 5.50659 8.12854C5.51053 8.0792 5.51692 8.01041 5.52711 7.92493C5.54745 7.75422 5.58307 7.51554 5.64487 7.23128C5.76781 6.66584 5.99803 5.90307 6.43039 5.13287C7.31703 3.55342 9.03148 2 12.175 2C14.3243 2 15.9171 2.92229 16.9597 4.14721C17.9833 5.34982 18.4833 6.85017 18.4833 8.06667C18.4833 9.46464 18.0705 10.4949 17.4213 11.2998C16.7952 12.076 15.976 12.6046 15.2648 13.0502L15.1281 13.1357C14.4402 13.5659 13.8726 13.9207 13.4464 14.3815C13.0299 14.8317 12.75 15.3867 12.75 16.25C12.75 16.6642 12.4142 17 12 17C11.5858 17 11.25 16.6642 11.25 16.25C11.25 14.9883 11.6868 14.0746 12.3453 13.3628C12.9148 12.7473 13.6507 12.2887 14.2961 11.8866C14.3543 11.8504 14.412 11.8144 14.4685 11.779C15.1907 11.3266 15.8048 10.9147 16.2537 10.3581C16.6795 9.83012 16.9833 9.13536 16.9833 8.06667C16.9833 7.2165 16.6167 6.05851 15.8174 5.11946C15.0371 4.20271 13.8507 3.5 12.175 3.5C9.64353 3.5 8.39549 4.69658 7.73839 5.86713C7.39887 6.47193 7.2119 7.08416 7.11063 7.54997C7.06032 7.78134 7.03207 7.97234 7.01657 8.10241C7.00884 8.16733 7.00432 8.2167 7.00183 8.24793C7.00058 8.26353 6.99984 8.27457 6.99946 8.28071Z" }), _jsx("path", { d: "M12 22C12.5523 22 13 21.5523 13 21C13 20.4477 12.5523 20 12 20C11.4477 20 11 20.4477 11 21C11 21.5523 11.4477 22 12 22Z" })] }));
default:
return (_jsxs("svg", { viewBox: "0 0 16 16", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", width: size, height: size, "aria-label": label, role: "img", ...props, children: [_jsx("path", { d: "M5.0556 5.49684L5.05555 5.49989C5.05555 5.49986 5.05555 5.49992 5.05555 5.49989C5.05555 5.50002 5.05555 5.50097 5.05555 5.5011C5.05555 5.50136 5.05555 5.5013 5.05555 5.5011C5.0549 5.80737 4.80642 6.05545 4.5 6.05545C4.19317 6.05545 3.94444 5.80672 3.94444 5.49989H4.5C3.94444 5.49989 3.94444 5.50017 3.94444 5.49989V5.49871L3.94445 5.49716L3.94447 5.49297L3.94461 5.48033C3.94477 5.47004 3.94505 5.45604 3.94559 5.43859C3.94666 5.40369 3.94873 5.35488 3.95273 5.29411C3.96072 5.17276 3.97647 5.00271 4.0076 4.79995C4.06945 4.39721 4.19418 3.851 4.44919 3.29746C4.7047 2.74285 5.09867 2.16479 5.70584 1.72547C6.31882 1.28196 7.11564 1.00439 8.13024 1.00439C9.48245 1.00439 10.4826 1.55702 11.134 2.35437C11.772 3.1353 12.0556 4.12436 12.0556 4.99989C12.0556 5.97642 11.8083 6.68984 11.4004 7.24351C11.0052 7.77981 10.4869 8.12413 10.0504 8.40471L9.96727 8.4581C9.54444 8.72939 9.21595 8.94016 8.96868 9.22863C8.73177 9.50503 8.55555 9.87477 8.55555 10.4999C8.55555 10.8067 8.30682 11.0554 8 11.0554C7.69317 11.0554 7.44444 10.8067 7.44444 10.4999C7.44444 9.62501 7.70573 8.99475 8.12507 8.50553C8.48425 8.08648 8.94926 7.78962 9.341 7.53954L9.44958 7.47007C9.88811 7.18816 10.2448 6.93872 10.5059 6.5844C10.7542 6.24744 10.9445 5.77336 10.9445 4.99989C10.9445 4.34456 10.728 3.61364 10.2735 3.05732C9.83248 2.51742 9.14779 2.11551 8.13024 2.11551C7.32971 2.11551 6.7652 2.33044 6.35717 2.62566C5.94334 2.92508 5.65664 3.332 5.45836 3.76238C5.25959 4.19383 5.15744 4.6326 5.10584 4.9686C5.08025 5.13521 5.06764 5.27296 5.06144 5.36708C5.05835 5.41405 5.05688 5.44988 5.05618 5.4727L5.0556 5.49684Z" }), _jsx("path", { d: "M8 14.9999C8.55228 14.9999 9 14.5522 9 13.9999C9 13.4476 8.55228 12.9999 8 12.9999C7.44771 12.9999 7 13.4476 7 13.9999C7 14.5522 7.44771 14.9999 8 14.9999Z" })] }));
}
};
IconQuestionMark.iconName = "question-mark";
export default IconQuestionMark;