@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 3.46 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconGroup = (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: "M11 7.5C11 9.433 9.433 11 7.5 11C5.567 11 4 9.433 4 7.5C4 5.567 5.567 4 7.5 4C9.433 4 11 5.567 11 7.5ZM9.5 7.5C9.5 8.60457 8.60457 9.5 7.5 9.5C6.39543 9.5 5.5 8.60457 5.5 7.5C5.5 6.39543 6.39543 5.5 7.5 5.5C8.60457 5.5 9.5 6.39543 9.5 7.5Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M20 7.5C20 9.433 18.433 11 16.5 11C14.567 11 13 9.433 13 7.5C13 5.567 14.567 4 16.5 4C18.433 4 20 5.567 20 7.5ZM18.5 7.5C18.5 8.60457 17.6046 9.5 16.5 9.5C15.3954 9.5 14.5 8.60457 14.5 7.5C14.5 6.39543 15.3954 5.5 16.5 5.5C17.6046 5.5 18.5 6.39543 18.5 7.5Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.5 12.5C4.46243 12.5 2 14.9624 2 18C2 19.1046 2.89543 20 4 20H11C12.1046 20 13 19.1046 13 18C13 14.9624 10.5376 12.5 7.5 12.5ZM3.5 18C3.5 18.2761 3.72386 18.5 4 18.5H11C11.2761 18.5 11.5 18.2761 11.5 18C11.5 15.7909 9.70914 14 7.5 14C5.29086 14 3.5 15.7909 3.5 18Z" }), _jsx("path", { d: "M14.4659 14.5549C15.0613 14.2025 15.7559 14 16.5 14C18.7092 14 20.5 15.7909 20.5 18C20.5 18.2761 20.2762 18.5 20 18.5H15.0632C14.649 18.5 14.3132 18.8358 14.3132 19.25C14.3132 19.6642 14.649 20 15.0632 20H20C21.1046 20 22 19.1046 22 18C22 14.9624 19.5376 12.5 16.5 12.5C15.4797 12.5 14.5222 12.7785 13.7018 13.2641C13.3454 13.4751 13.2275 13.9352 13.4385 14.2916C13.6495 14.648 14.1095 14.7659 14.4659 14.5549Z" })] }));
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: "M7 9C8.65685 9 10 7.65685 10 6C10 4.34315 8.65685 3 7 3C5.34315 3 4 4.34315 4 6C4 7.65685 5.34315 9 7 9ZM7 8C8.10457 8 9 7.10457 9 6C9 4.89543 8.10457 4 7 4C5.89543 4 5 4.89543 5 6C5 7.10457 5.89543 8 7 8Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2 15C2 12.2386 4.23858 10 7 10C9.76142 10 12 12.2386 12 15C12 16.1046 11.1046 17 10 17H4C2.89543 17 2 16.1046 2 15ZM4 16C3.44772 16 3 15.5523 3 15C3 12.7909 4.79086 11 7 11C9.20914 11 11 12.7909 11 15C11 15.5523 10.5523 16 10 16H4Z" }), _jsx("path", { d: "M12.1572 11.2667C12.5701 11.095 13.0233 11 13.5 11C15.433 11 17 12.567 17 14.5V15C17 15.5523 16.5523 16 16 16H13.1632C12.887 16 12.6632 16.2239 12.6632 16.5C12.6632 16.7761 12.887 17 13.1632 17H16C17.1046 17 18 16.1046 18 15V14.5C18 12.0147 15.9853 10 13.5 10C12.8892 10 12.3057 10.122 11.7733 10.3433C11.5183 10.4494 11.3976 10.742 11.5036 10.997C11.6096 11.252 11.9023 11.3727 12.1572 11.2667Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M16 6.5C16 7.88071 14.8807 9 13.5 9C12.1193 9 11 7.88071 11 6.5C11 5.11929 12.1193 4 13.5 4C14.8807 4 16 5.11929 16 6.5ZM15 6.5C15 7.32843 14.3284 8 13.5 8C12.6716 8 12 7.32843 12 6.5C12 5.67157 12.6716 5 13.5 5C14.3284 5 15 5.67157 15 6.5Z" })] }));
}
};
IconGroup.iconName = "group";
export default IconGroup;