@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 3.01 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconViewOffFilled = (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: "M2.21967 21.7803C1.92677 21.4874 1.92677 21.0126 2.21967 20.7197L20.7197 2.21967C21.0126 1.92678 21.4874 1.92678 21.7803 2.21967C22.0732 2.51257 22.0732 2.98744 21.7803 3.28033L17.9828 7.07789C19.8077 8.42452 21.068 10.1096 21.7235 11.118C22.0754 11.6594 22.0754 12.3406 21.7235 12.882C20.5006 14.7634 17.1724 19 12 19C10.2118 19 8.64399 18.4936 7.30742 17.7532L3.28033 21.7803C2.98743 22.0732 2.51256 22.0732 2.21967 21.7803ZM9.75179 15.3089C10.3925 15.745 11.1665 16 12 16C14.2092 16 16 14.2091 16 12C16 11.1665 15.7451 10.3925 15.3089 9.75178L14.2171 10.8436C14.3978 11.1894 14.5 11.5828 14.5 12C14.5 13.3807 13.3807 14.5 12 14.5C11.5828 14.5 11.1894 14.3978 10.8436 14.217L9.75179 15.3089Z" }), _jsx("path", { d: "M8.07033 12.7506L4.85916 15.9618C3.64986 14.8433 2.78283 13.6609 2.27658 12.882C1.92465 12.3406 1.92465 11.6594 2.27658 11.118C3.49949 9.23662 6.82759 5 12 5C13.1767 5 14.258 5.21927 15.2407 5.58019L12.7506 8.07031C12.5075 8.02416 12.2566 8 12 8C9.79088 8 8.00002 9.79086 8.00002 12C8.00002 12.2566 8.02417 12.5075 8.07033 12.7506Z" })] }));
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: "M17.8536 2.85356C18.0488 2.65829 18.0488 2.34171 17.8536 2.14645C17.6583 1.95119 17.3417 1.95119 17.1464 2.14645L2.14644 17.1464C1.95118 17.3417 1.95118 17.6583 2.14644 17.8536C2.34171 18.0488 2.65829 18.0488 2.85355 17.8536L5.76419 14.9429C7.02659 15.6175 8.46863 16 10 16C13.6687 16 16.8246 13.8049 18.2262 10.6566C18.4122 10.2387 18.4122 9.76133 18.2262 9.34346C17.5503 7.82526 16.4665 6.52873 15.114 5.59312L17.8536 2.85356ZM12.4454 8.26173L11.7231 8.98401C11.899 9.28177 12 9.6291 12 10C12 11.1046 11.1046 12 10 12C9.6291 12 9.28178 11.899 8.98402 11.7231L8.26173 12.4454C8.75214 12.7946 9.35209 13 10 13C11.6569 13 13 11.6569 13 10C13 9.35208 12.7946 8.75214 12.4454 8.26173Z" }), _jsx("path", { d: "M10 4C11.1525 4 12.2544 4.21664 13.2673 4.61141L10.7771 7.10162C10.5292 7.03534 10.2687 7 10 7C8.34315 7 7.00001 8.34315 7.00001 10C7.00001 10.2687 7.03534 10.5292 7.10162 10.7771L4.09047 13.7882C3.10691 12.9312 2.31134 11.864 1.77382 10.6565C1.5878 10.2387 1.5878 9.76132 1.77382 9.34346C3.17539 6.19506 6.33135 4 10 4Z" })] }));
}
};
IconViewOffFilled.iconName = "view-off--filled";
export default IconViewOffFilled;