@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 6.43 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconMultiActionSwitch = (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: "M14.4172 15.5035C16.1343 15.5906 17.5 17.011 17.5002 18.7496C17.5002 20.5444 16.045 21.9994 14.2502 21.9996H9.75023C7.95531 21.9996 6.50023 20.5445 6.50023 18.7496C6.50025 18.5857 6.51195 18.4246 6.53539 18.2672C6.55546 18.1324 6.58427 18.0005 6.62035 17.8717C6.62692 17.8482 6.6328 17.8246 6.63988 17.8014C6.66741 17.711 6.6996 17.6226 6.73461 17.5357C6.73777 17.5279 6.74115 17.5201 6.74437 17.5123C6.76821 17.4545 6.79353 17.3975 6.82054 17.3414L6.86937 17.2437C6.87093 17.2408 6.87269 17.2379 6.87426 17.2349C6.9177 17.1527 6.96477 17.0726 7.01488 16.9947C7.01986 16.987 7.02448 16.979 7.02953 16.9713C7.06051 16.924 7.09482 16.8791 7.12816 16.8336C7.15199 16.801 7.17446 16.7675 7.19945 16.7359L7.24242 16.6822C7.26885 16.6502 7.29781 16.6204 7.32543 16.5894C7.35735 16.5536 7.38865 16.5173 7.42211 16.483C7.45666 16.4475 7.49339 16.4143 7.52953 16.3805C7.57039 16.3421 7.61075 16.3034 7.65355 16.2672C7.68792 16.2381 7.72443 16.2118 7.76 16.1842C7.80499 16.1492 7.84988 16.1142 7.89672 16.0816C7.96017 16.0375 8.02441 15.9943 8.09105 15.9547C8.1041 15.9469 8.11695 15.9388 8.13011 15.9312C8.20277 15.8894 8.27769 15.8513 8.35375 15.815C8.37188 15.8064 8.39012 15.7979 8.40843 15.7896C8.48953 15.7528 8.57199 15.7182 8.65648 15.6881C8.66036 15.6867 8.66432 15.6855 8.6682 15.6842C8.76078 15.6515 8.85519 15.6225 8.9514 15.5982C8.97724 15.5917 9.00345 15.5866 9.02953 15.5806C9.05359 15.5752 9.07753 15.569 9.10179 15.564C9.25835 15.5324 9.4194 15.5118 9.58324 15.5035L9.75023 15.4996H14.2502L14.4172 15.5035ZM12.4875 16.9996C12.8112 17.5048 13.0002 18.105 13.0002 18.7496L12.9963 18.9166C12.9669 19.4982 12.7814 20.0381 12.4856 20.4996H14.2502C15.2166 20.4994 16.0002 19.716 16.0002 18.7496C16 17.7834 15.2164 16.9998 14.2502 16.9996H12.4875ZM9.75023 16.9996C8.78385 16.9996 8.00042 17.7833 8.00023 18.7496C8.00023 19.6556 8.68829 20.401 9.57054 20.4908L9.75023 20.4996C10.7166 20.4994 11.5002 19.716 11.5002 18.7496C11.5001 17.8437 10.8112 17.0991 9.92894 17.0094L9.75023 16.9996Z" }), _jsx("path", { d: "M11.9846 2.20956C12.2338 1.96049 12.6187 1.92972 12.9016 2.11678L13.0159 2.20956L17.4319 6.62557C18.1906 7.38458 18.1906 8.61557 17.4319 9.37459L13.0159 13.7906C12.7313 14.075 12.2692 14.075 11.9846 13.7906C11.7001 13.506 11.7002 13.044 11.9846 12.7594L16.4006 8.34334C16.59 8.15363 16.5901 7.84652 16.4006 7.65682L11.9846 3.24081L11.8918 3.12655C11.7048 2.84365 11.7356 2.45874 11.9846 2.20956Z" }), _jsx("path", { d: "M15.9846 2.20956C16.2338 1.96049 16.6187 1.92972 16.9016 2.11678L17.0159 2.20956L21.4319 6.62557C22.1907 7.38459 22.1907 8.61556 21.4319 9.37459L17.0159 13.7906C16.7313 14.075 16.2692 14.075 15.9846 13.7906C15.7002 13.506 15.7002 13.044 15.9846 12.7594L20.4006 8.34334C20.5901 8.15362 20.5901 7.84653 20.4006 7.65682L15.9846 3.24081L15.8918 3.12655C15.7048 2.84365 15.7356 2.45875 15.9846 2.20956Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M6.62523 2.56893C7.38431 1.81 8.61521 1.80994 9.37426 2.56893L13.4309 6.62557C14.1899 7.38461 14.1898 8.6155 13.4309 9.37459L9.37426 13.4312C8.61514 14.1899 7.38418 14.1902 6.62523 13.4312L2.56859 9.37459C1.8097 8.61565 1.80994 7.38467 2.56859 6.62557L6.62523 2.56893ZM8.34301 3.5992C8.15335 3.41007 7.84613 3.41006 7.65648 3.5992L3.59886 7.65682C3.41 7.84649 3.40982 8.15379 3.59886 8.34334L7.65648 12.401C7.84602 12.5902 8.15326 12.5899 8.34301 12.401L12.4006 8.34334C12.5898 8.15362 12.59 7.84646 12.4006 7.65682L8.34301 3.5992Z" })] }));
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: "M11.5002 13.0004C12.8807 13.0006 14.0002 14.1198 14.0002 15.5004C14 16.8808 12.8806 18.0002 11.5002 18.0004H8.50017C7.11959 18.0004 6.00039 16.8809 6.00017 15.5004C6.00017 14.1197 7.11946 13.0004 8.50017 13.0004H11.5002ZM10.4963 14.0004C10.8108 14.4185 11.0002 14.9369 11.0002 15.5004C11.0001 16.064 10.811 16.5823 10.4963 17.0004H11.5002C12.3283 17.0002 13 16.3285 13.0002 15.5004C13.0002 14.6721 12.3284 14.0006 11.5002 14.0004H10.4963ZM8.50017 14.0004C7.67174 14.0004 7.00017 14.672 7.00017 15.5004C7.00037 16.277 7.59037 16.916 8.34685 16.9926L8.50017 17.0004C9.32828 17.0002 9.99995 16.3285 10.0002 15.5004C10.0002 14.7239 9.40968 14.0852 8.65349 14.0082L8.50017 14.0004Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M5.58513 2.58049C6.36607 1.79955 7.63316 1.79978 8.41423 2.58049L11.4191 5.58537C12.1999 6.36644 12.2001 7.63351 11.4191 8.41448L8.41423 11.4194C7.63326 12.2003 6.3662 12.2002 5.58513 11.4194L2.58025 8.41448C1.79954 7.6334 1.79931 6.36631 2.58025 5.58537L5.58513 2.58049ZM7.7072 3.28752C7.31665 2.89733 6.68257 2.89711 6.29216 3.28752L3.28728 6.29241C2.89687 6.68282 2.89709 7.31689 3.28728 7.70744L6.29216 10.7123C6.6827 11.1026 7.31675 11.1028 7.7072 10.7123L10.7121 7.70744C11.1025 7.317 11.1024 6.68295 10.7121 6.29241L7.7072 3.28752Z" }), _jsx("path", { d: "M10.2717 2.1469C10.4669 1.95163 10.7834 1.95163 10.9787 2.1469L14.4191 5.58733C15.1998 6.36841 15.2 7.63551 14.4191 8.41643L10.9816 11.8539C10.7865 12.0491 10.4699 12.0488 10.2746 11.8539C10.0793 11.6587 10.0793 11.3422 10.2746 11.1469L13.7121 7.7094C14.1025 7.319 14.1022 6.68491 13.7121 6.29436L10.2717 2.85393C10.0764 2.65867 10.0764 2.34216 10.2717 2.1469Z" }), _jsx("path", { d: "M13.2717 2.1469C13.4669 1.95163 13.7834 1.95163 13.9787 2.1469L17.4191 5.58733C18.1998 6.36841 18.2 7.63551 17.4191 8.41643L13.9816 11.8539C13.7865 12.0491 13.4699 12.0488 13.2746 11.8539C13.0793 11.6587 13.0793 11.3422 13.2746 11.1469L16.7121 7.7094C17.1025 7.319 17.1022 6.68491 16.7121 6.29436L13.2717 2.85393C13.0764 2.65867 13.0764 2.34216 13.2717 2.1469Z" })] }));
}
};
IconMultiActionSwitch.iconName = "multi-action-switch";
export default IconMultiActionSwitch;