@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 4.03 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconMultiActionSwitchFilled = (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.2502 15.4996C16.0449 15.4998 17.5 16.955 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.50042 16.9548 7.95543 15.4996 9.75023 15.4996H14.2502ZM9.75023 16.9996C8.78385 16.9996 8.00042 17.7833 8.00023 18.7496C8.00023 19.7161 8.78373 20.4996 9.75023 20.4996C10.7166 20.4994 11.5002 19.716 11.5002 18.7496C11.5 17.7834 10.7164 16.9998 9.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", { 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.56893Z" })] }));
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.8808 13.0005 14.0002 14.1198 14.0002 15.5004C14 16.8809 12.8806 18.0003 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.5002ZM8.50017 14.0004C7.67174 14.0004 7.00017 14.672 7.00017 15.5004C7.00039 16.3287 7.67188 17.0004 8.50017 17.0004C9.32828 17.0002 9.99995 16.3285 10.0002 15.5004C10.0002 14.6721 9.32841 14.0006 8.50017 14.0004Z" }), _jsx("path", { 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.58049Z" }), _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" })] }));
}
};
IconMultiActionSwitchFilled.iconName = "multi-action-switch--filled";
export default IconMultiActionSwitchFilled;