@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 2.38 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconViewOff = (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: "M2.22 21.78a.75.75 0 0 1 0-1.06l18.5-18.5a.75.75 0 1 1 1.06 1.06l-3.797 3.798c1.825 1.347 3.085 3.032 3.74 4.04a1.61 1.61 0 0 1 0 1.764C20.502 14.763 17.174 19 12 19c-1.788 0-3.356-.506-4.693-1.247L3.28 21.78a.75.75 0 0 1-1.06 0m6.2-5.139 1.332-1.332a4 4 0 0 0 5.557-5.557l1.6-1.6c1.686 1.19 2.892 2.76 3.557 3.784a.1.1 0 0 1 .021.064.1.1 0 0 1-.021.065C19.27 13.902 16.335 17.5 12 17.5c-1.328 0-2.525-.338-3.58-.859m5.797-5.797a2.5 2.5 0 0 1-3.373 3.373z", clipRule: "evenodd" }), _jsx("path", { d: "M2.277 12.882a16.6 16.6 0 0 0 2.582 3.08L5.92 14.9a15 15 0 0 1-2.386-2.835.1.1 0 0 1-.021-.065c0-.016.004-.037.021-.065C4.73 10.099 7.665 6.5 12 6.5c.722 0 1.404.1 2.047.274L15.24 5.58A9.3 9.3 0 0 0 12 5c-5.172 0-8.5 4.237-9.723 6.118a1.61 1.61 0 0 0 0 1.764" }), _jsx("path", { d: "M8 12q0 .386.07.75l1.566-1.565c.25-.725.824-1.3 1.55-1.55L12.75 8.07A4 4 0 0 0 8 12" })] }));
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: "M17.854 2.854a.5.5 0 0 0-.708-.708l-15 15a.5.5 0 0 0 .708.708l2.91-2.911A8.96 8.96 0 0 0 10 16a9 9 0 0 0 8.226-5.343 1.62 1.62 0 0 0 0-1.314 9.04 9.04 0 0 0-3.112-3.75zm-3.46 3.46a8.03 8.03 0 0 1 2.919 3.436c.07.16.07.34 0 .5A8 8 0 0 1 6.508 14.2l1.754-1.755a3 3 0 0 0 4.184-4.184zm-2.67 2.67a2 2 0 0 1-2.74 2.74z", clipRule: "evenodd" }), _jsx("path", { d: "m13.267 4.611-.782.783A8.002 8.002 0 0 0 2.687 9.75a.62.62 0 0 0 0 .499A8 8 0 0 0 4.8 13.08l-.709.708a9 9 0 0 1-2.316-3.132 1.61 1.61 0 0 1 0-1.313A9 9 0 0 1 10 4c1.152 0 2.254.217 3.267.611" }), _jsx("path", { d: "m10.777 7.102-.902.902a2 2 0 0 0-1.871 1.87l-.902.903a3 3 0 0 1 3.675-3.675" })] }));
}
};
IconViewOff.iconName = "view-off";
export default IconViewOff;