UNPKG

@elgato/icons

Version:

Icons used throughout the Elgato ecosystem.

15 lines (14 loc) 3.94 kB
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { sizeMap } from "../../metadata/sizing.js"; const IconMicrophoneOff = (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.92678 21.4874 1.92678 21.0126 2.21967 20.7197L20.7197 2.21967C21.0126 1.92678 21.4874 1.92678 21.7803 2.21967C22.0732 2.51256 22.0732 2.98744 21.7803 3.28033L16 9.06066V12C16 14.2091 14.2091 16 12 16C11.1665 16 10.3925 15.745 9.75178 15.3089L8.67756 16.3831C9.62812 17.1037 10.7936 17.5 12 17.5C13.4587 17.5 14.8576 16.9205 15.8891 15.8891C16.9205 14.8576 17.5 13.4587 17.5 12C17.5 11.5858 17.8358 11.25 18.25 11.25C18.6642 11.25 19 11.5858 19 12C19 13.8565 18.2625 15.637 16.9497 16.9497C15.815 18.0845 14.3307 18.7894 12.75 18.9597V20.5H15.25C15.6642 20.5 16 20.8358 16 21.25C16 21.6642 15.6642 22 15.25 22H8.75C8.33579 22 8 21.6642 8 21.25C8 20.8358 8.33579 20.5 8.75 20.5H11.25V18.9597C9.91721 18.8161 8.65302 18.2925 7.60906 17.4516L3.28033 21.7803C2.98744 22.0732 2.51256 22.0732 2.21967 21.7803ZM10.8436 14.2171C11.1894 14.3978 11.5828 14.5 12 14.5C13.3807 14.5 14.5 13.3807 14.5 12V10.5607L10.8436 14.2171Z" }), _jsx("path", { d: "M5.72288 15.098L6.86104 13.9599C6.62458 13.3399 6.5 12.6764 6.5 12C6.5 11.5858 6.16421 11.25 5.75 11.25C5.33579 11.25 5 11.5858 5 12C5 13.0847 5.25175 14.1434 5.72288 15.098Z" }), _jsx("path", { d: "M8.07031 12.7506L9.5 11.3209V6C9.5 4.61929 10.6193 3.5 12 3.5C13.3807 3.5 14.5 4.61929 14.5 6V6.32093L15.8629 4.958C15.4044 3.25412 13.8487 2 12 2C9.79086 2 8 3.79086 8 6V12C8 12.2566 8.02415 12.5075 8.07031 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.85355C18.0488 2.65829 18.0488 2.34171 17.8536 2.14645C17.6583 1.95118 17.3417 1.95118 17.1464 2.14645L2.14645 17.1464C1.95118 17.3417 1.95118 17.6583 2.14645 17.8536C2.34171 18.0488 2.65829 18.0488 2.85355 17.8536L6.83574 13.8714C7.21322 14.1799 7.63451 14.4321 8.08658 14.6194C8.53866 14.8067 9.01492 14.9262 9.5 14.9749V17H7.5C7.22386 17 7 17.2239 7 17.5C7 17.7761 7.22386 18 7.5 18H12.5C12.7761 18 13 17.7761 13 17.5C13 17.2239 12.7761 17 12.5 17H10.5V14.9749C10.9851 14.9262 11.4613 14.8067 11.9134 14.6194C12.52 14.3681 13.0712 13.9998 13.5355 13.5355C13.9998 13.0712 14.3681 12.52 14.6194 11.9134C14.8707 11.3068 15 10.6566 15 10C15 9.72386 14.7761 9.5 14.5 9.5C14.2239 9.5 14 9.72386 14 10C14 10.5253 13.8965 11.0454 13.6955 11.5307C13.4945 12.016 13.1999 12.457 12.8284 12.8284C12.457 13.1999 12.016 13.4945 11.5307 13.6955C11.0454 13.8965 10.5253 14 10 14C9.47471 14 8.95457 13.8965 8.46927 13.6955C8.13872 13.5586 7.82875 13.3783 7.54731 13.1598L8.26173 12.4454C8.75214 12.7946 9.35209 13 10 13C11.6569 13 13 11.6569 13 10V7.70711L17.8536 2.85355ZM12 8.70711L8.98402 11.7231C9.28177 11.899 9.6291 12 10 12C11.1046 12 12 11.1046 12 10V8.70711Z" }), _jsx("path", { d: "M10 2C11.617 2 12.9352 3.27931 12.9977 4.881L12 5.87868V5C12 3.89543 11.1046 3 10 3C8.89543 3 8 3.89543 8 5V9.87868L7.10161 10.7771C7.03534 10.5292 7 10.2687 7 10V5C7 3.34315 8.34315 2 10 2Z" }), _jsx("path", { d: "M6.30448 11.5307L6.31732 11.5614L5.56666 12.312C5.49893 12.1822 5.43684 12.0492 5.3806 11.9134C5.12933 11.3068 5 10.6566 5 10C5 9.72386 5.22386 9.5 5.5 9.5C5.77614 9.5 6 9.72386 6 10C6 10.5253 6.10346 11.0454 6.30448 11.5307Z" })] })); } }; IconMicrophoneOff.iconName = "microphone-off"; export default IconMicrophoneOff;