@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 3.23 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconSettings = (props) => {
const size = sizeMap[props?.size ?? "m"];
const label = props?.label ?? "Icon";
switch (props?.size) {
case "l":
return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 24 24", width: size, height: size, "aria-label": label, role: "img", ...props, children: [_jsx("path", { fillRule: "evenodd", d: "M16 12a4 4 0 1 1-8 0 4 4 0 0 1 8 0m-1.5 0a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0", clipRule: "evenodd" }), _jsx("path", { fillRule: "evenodd", d: "M10.116 3.332c.63-1.773 3.138-1.773 3.768 0l.046.129a2 2 0 0 0 2.743 1.136l.123-.059c1.7-.808 3.473.966 2.665 2.665l-.058.124a2 2 0 0 0 1.136 2.743l.129.045c1.773.63 1.773 3.139 0 3.77l-.13.045a2 2 0 0 0-1.135 2.743l.058.123c.808 1.7-.965 3.473-2.665 2.665l-.123-.058a2 2 0 0 0-2.743 1.136l-.046.128c-.63 1.774-3.138 1.774-3.768 0l-.046-.128a2 2 0 0 0-2.743-1.136l-.124.058c-1.7.808-3.473-.965-2.665-2.665l.06-.123A2 2 0 0 0 3.46 13.93l-.129-.046c-1.773-.63-1.773-3.138 0-3.769l.129-.045a2 2 0 0 0 1.136-2.743l-.059-.124c-.808-1.7.966-3.473 2.665-2.665l.124.059A2 2 0 0 0 10.07 3.46zm2.355.503.046.128a3.5 3.5 0 0 0 4.8 1.989l.123-.059a.5.5 0 0 1 .667.666l-.059.124a3.5 3.5 0 0 0 1.988 4.8l.129.046a.5.5 0 0 1 0 .942l-.129.046a3.5 3.5 0 0 0-1.988 4.8l.059.123a.5.5 0 0 1-.667.666l-.123-.058a3.5 3.5 0 0 0-4.8 1.988l-.046.129a.5.5 0 0 1-.942 0l-.046-.129a3.5 3.5 0 0 0-4.8-1.988l-.124.059a.5.5 0 0 1-.666-.667l.059-.123a3.5 3.5 0 0 0-1.989-4.8l-.128-.046a.5.5 0 0 1 0-.942l.128-.046a3.5 3.5 0 0 0 1.989-4.8l-.059-.124a.5.5 0 0 1 .666-.666l.124.059a3.5 3.5 0 0 0 4.8-1.989l.046-.128a.5.5 0 0 1 .942 0", clipRule: "evenodd" })] }));
default:
return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 20 20", width: size, height: size, "aria-label": label, role: "img", ...props, children: [_jsx("path", { fillRule: "evenodd", d: "M13 10a3 3 0 1 1-6 0 3 3 0 0 1 6 0m-1 0a2 2 0 1 1-4 0 2 2 0 0 1 4 0", clipRule: "evenodd" }), _jsx("path", { fillRule: "evenodd", d: "M8.486 3.136c.445-1.51 2.583-1.51 3.028 0a1.578 1.578 0 0 0 2.269.94c1.382-.753 2.894.76 2.14 2.141a1.578 1.578 0 0 0 .94 2.269c1.51.445 1.51 2.583 0 3.028a1.578 1.578 0 0 0-.94 2.269c.754 1.382-.758 2.894-2.14 2.14a1.578 1.578 0 0 0-2.27.94c-.444 1.51-2.582 1.51-3.027 0a1.578 1.578 0 0 0-2.269-.94c-1.382.754-2.894-.758-2.14-2.14a1.578 1.578 0 0 0-.94-2.27c-1.51-.444-1.51-2.582 0-3.027a1.578 1.578 0 0 0 .94-2.269c-.754-1.382.758-2.894 2.14-2.14a1.578 1.578 0 0 0 2.27-.94M5.74 4.954A2.578 2.578 0 0 0 9.445 3.42c.163-.553.947-.553 1.11 0a2.578 2.578 0 0 0 3.706 1.535c.507-.276 1.06.278.785.785a2.578 2.578 0 0 0 1.535 3.706c.553.163.553.947 0 1.11a2.578 2.578 0 0 0-1.535 3.706c.276.506-.278 1.06-.785.785a2.578 2.578 0 0 0-3.706 1.535c-.163.553-.947.553-1.11 0a2.578 2.578 0 0 0-3.706-1.535c-.507.275-1.06-.279-.785-.785a2.578 2.578 0 0 0-1.535-3.706c-.553-.163-.553-.947 0-1.11A2.578 2.578 0 0 0 4.954 5.74c-.275-.507.278-1.06.785-.785", clipRule: "evenodd" })] }));
}
};
IconSettings.iconName = "settings";
export default IconSettings;