UNPKG

@elgato/icons

Version:

Icons used throughout the Elgato ecosystem.

15 lines (14 loc) 4.07 kB
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", { 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.7803ZM8.4196 16.6411L9.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.75178L16.9081 8.15255C18.5948 9.34235 19.8005 10.9119 20.4658 11.9355C20.4835 11.9626 20.4874 11.9843 20.4874 12C20.4874 12.0157 20.4835 12.0374 20.4658 12.0645C19.2712 13.9023 16.3349 17.5 12 17.5C10.672 17.5 9.47523 17.1623 8.4196 16.6411ZM14.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.217L14.2171 10.8436Z" }), _jsx("path", { d: "M2.27658 12.882C2.78283 13.6609 3.64986 14.8433 4.85916 15.9618L5.9204 14.9005C4.83735 13.9086 4.0336 12.8328 3.53424 12.0645C3.51657 12.0374 3.51263 12.0157 3.51263 12C3.51263 11.9843 3.51657 11.9626 3.53424 11.9355C4.7288 10.0977 7.66514 6.5 12 6.5C12.7215 6.5 13.4042 6.59966 14.0467 6.77428L15.2407 5.58019C14.258 5.21927 13.1767 5 12 5C6.82759 5 3.49949 9.23662 2.27658 11.118C1.92465 11.6594 1.92465 12.3406 2.27658 12.882Z" }), _jsx("path", { d: "M8.00002 12C8.00002 12.2566 8.02417 12.5075 8.07033 12.7506L9.63585 11.1851C9.88576 10.4599 10.4599 9.88574 11.1851 9.63583L12.7506 8.07031C12.5075 8.02416 12.2566 8 12 8C9.79088 8 8.00002 9.79086 8.00002 12Z" })] })); 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.82525 16.4665 6.52873 15.114 5.59312L17.8536 2.85356ZM14.3937 6.31337C15.6667 7.15142 16.6864 8.3434 17.3126 9.75015C17.3834 9.90914 17.3834 10.0909 17.3126 10.2499C16.0658 13.0506 13.2595 15 10 15C8.74813 15 7.56309 14.7124 6.50758 14.1995L8.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.26173L14.3937 6.31337ZM11.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.7231L11.7231 8.98401Z" }), _jsx("path", { d: "M13.2673 4.61141L12.4852 5.3935C11.7028 5.13807 10.8674 5 10 5C6.74053 5 3.93418 6.94942 2.68739 9.75015C2.61661 9.90913 2.61661 10.0909 2.68739 10.2499C3.17495 11.3451 3.90099 12.3101 4.79936 13.0793L4.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 4C11.1525 4 12.2544 4.21664 13.2673 4.61141Z" }), _jsx("path", { d: "M10.7771 7.10162L9.87483 8.00385C8.86997 8.06591 8.06592 8.86996 8.00386 9.87482L7.10162 10.7771C7.03534 10.5292 7.00001 10.2687 7.00001 10C7.00001 8.34315 8.34315 7 10 7C10.2687 7 10.5292 7.03534 10.7771 7.10162Z" })] })); } }; IconViewOff.iconName = "view-off"; export default IconViewOff;