@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
17 lines (16 loc) • 5.34 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconSoundEffect = (props) => {
const size = sizeMap[props?.size ?? "m"];
const label = props?.label ?? "Icon";
switch (props?.size) {
case "l":
return (_jsx("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", { d: "M11.277 4.053a.75.75 0 0 1 .46.84c-.819 4.191-.974 6.567-.636 8.429.17.943.47 1.77.905 2.658-.051-1.623.033-2.97.254-4.188.36-1.982 1.076-3.573 2.083-5.403a.75.75 0 0 1 1.406.399c-.112 2.22.155 4.153.69 5.964.2-2.09.654-3.828 1.977-5.472a.75.75 0 0 1 1.327.371c.157 1.177.288 1.851.519 2.367.191.428.47.785 1.004 1.232h.984a.75.75 0 0 1 0 1.5H21a.75.75 0 0 1-.465-.161c-.773-.611-1.294-1.18-1.643-1.958a5.4 5.4 0 0 1-.279-.798c-.667 1.577-.742 3.439-.854 6.219l-.01.229a.75.75 0 0 1-1.426.292c-.992-2.085-1.718-4.235-1.986-6.688a12.5 12.5 0 0 0-.601 2.175c-.321 1.765-.334 3.91.01 7.11a.75.75 0 0 1-1.389.467l-.013-.023c-1.343-2.23-2.327-3.866-2.72-6.024-.266-1.472-.254-3.157.042-5.421-.235.401-.455.817-.658 1.276-.669 1.508-1.15 3.48-1.258 6.83a.75.75 0 0 1-1.435.281c-.703-1.572-1.214-2.746-1.548-4.043A15 15 0 0 1 4.354 10l-.018.037c-.252.538-.416 1.14-.6 2.104a.75.75 0 0 1-.736.61H1.75a.75.75 0 0 1 0-1.5h.637c.155-.71.33-1.292.59-1.85.334-.711.79-1.34 1.447-2.13a.75.75 0 0 1 1.326.469c.03 1.983.175 3.253.47 4.4.08.314.173.62.28.933.24-1.764.63-3.095 1.136-4.235.535-1.206 1.21-2.206 1.902-3.233.276-.41.554-.823.828-1.255a.75.75 0 0 1 .911-.296" }) }));
case "s":
return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 16 16", width: size, height: size, "aria-label": label, role: "img", ...props, children: _jsx("path", { fillRule: "evenodd", d: "M7.645 2.522a.5.5 0 0 1 .348.56c-.313 1.878-.215 3.832.017 5.501a13 13 0 0 1 .464-1.936 11.6 11.6 0 0 1 .736-1.78 8 8 0 0 1 .37-.637l.006-.01.002-.004.001-.001L10 4.5l-.41-.286a.5.5 0 0 1 .906.348c-.16 1.288-.015 2.696.214 3.905a11.398 11.398 0 0 1 1.062-2.72 9 9 0 0 1 .287-.487l.019-.028.006-.009.001-.002V5.22l.415.28-.414-.28a.5.5 0 0 1 .907.362c-.183 1.1.03 1.725.234 2.057a1.3 1.3 0 0 0 .316.361h.957a.5.5 0 0 1 0 1h-1.1a.5.5 0 0 1-.21-.046l.21-.454-.21.454h-.001l-.002-.001-.003-.002-.01-.004a1 1 0 0 1-.088-.05 2 2 0 0 1-.198-.14 2.3 2.3 0 0 1-.515-.596 2.9 2.9 0 0 1-.302-.692l-.005.011c-.408 1.056-.756 2.47-.57 3.958a.5.5 0 0 1-.965.235L11 11.5l-.47.173v-.004l-.004-.01-.013-.035-.046-.132q-.06-.174-.157-.489a22 22 0 0 1-.448-1.695 19 19 0 0 1-.388-2.5l-.048.145c-.455 1.414-.818 3.46-.432 5.971a.5.5 0 0 1-.966.24L8.5 13l-.472.164-.001-.002-.001-.004-.005-.013-.016-.047-.058-.18c-.049-.157-.118-.384-.198-.672a28 28 0 0 1-.54-2.355 24.5 24.5 0 0 1-.404-3.623c-.54 1.707-.992 3.707-.809 5.17a.5.5 0 0 1-.962.243L5.5 11.5l-.466.181-.001-.004-.004-.008-.013-.034-.045-.123a21.114 21.114 0 0 1-.606-1.99 15 15 0 0 1-.39-2.172c-.225.44-.413.888-.485 1.248A.5.5 0 0 1 3 9H1.5a.5.5 0 0 1 0-1h1.115c.186-.585.51-1.21.792-1.7a17 17 0 0 1 .667-1.063l.012-.017.003-.005v-.001L4.5 5.5l-.41-.286a.5.5 0 0 1 .903.368c-.148.888-.026 1.99.185 3.009.175-.937.433-1.87.696-2.693a33 33 0 0 1 1.142-3.04l.02-.047.006-.012.002-.005L7.5 3l-.456-.206a.5.5 0 0 1 .601-.272", clipRule: "evenodd" }) }));
default:
return (_jsx("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: "M9.155 3.025a.5.5 0 0 1 .338.557c-.481 2.887-.129 5.792.357 8.001.124-1.48.443-2.715.806-3.694.325-.879.685-1.549.966-2.003a8 8 0 0 1 .454-.657l.03-.038.01-.01.002-.004.002-.001.38.324-.38-.325a.5.5 0 0 1 .876.387c-.208 1.667-.056 3.345.187 4.72A11.091 11.091 0 0 1 14.7 6.756a8 8 0 0 1 .381-.532l.025-.03.007-.01.002-.002.001-.001.385.319-.385-.32a.501.501 0 0 1 .878.402c-.24 1.436.026 2.01.204 2.223.09.108.182.155.243.177a.4.4 0 0 0 .073.018H18.5a.5.5 0 0 1 0 1h-2v-.5.5h-.02a1 1 0 0 1-.116-.011 1.4 1.4 0 0 1-.257-.064 1.56 1.56 0 0 1-.679-.48c-.223-.268-.393-.633-.476-1.127q-.092.184-.184.387c-.538 1.196-1.007 2.851-.772 4.733a.5.5 0 0 1-.964.238l.468-.176-.468.176-.002-.005-.004-.01-.013-.038-.05-.141a21.664 21.664 0 0 1-.64-2.38 19.6 19.6 0 0 1-.422-3.612 11 11 0 0 0-.307.746c-.598 1.616-1.086 4.03-.6 7.188a.5.5 0 0 1-.955.268l.461-.192-.461.192-.001-.002-.002-.004-.006-.015-.022-.055q-.03-.072-.081-.209a21 21 0 0 1-.276-.78c-.223-.67-.51-1.624-.764-2.769-.336-1.51-.618-3.362-.623-5.337q-.115.31-.229.642c-.684 1.99-1.274 4.396-1.039 6.275a.5.5 0 0 1-.943.286L6.5 13.5l-.447.224v-.002l-.002-.003-.005-.01-.018-.037-.066-.139q-.086-.182-.227-.509a20 20 0 0 1-.649-1.747c-.277-.87-.538-1.913-.63-2.969a5.4 5.4 0 0 0-.466 1.29.5.5 0 0 1-.49.402h-2a.5.5 0 1 1 0-1h1.608c.2-.686.533-1.332.826-1.82a11 11 0 0 1 .658-.97l.012-.016.004-.004v-.002c.001 0 .002 0 .392.312l-.39-.312a.5.5 0 0 1 .883.394c-.23 1.38.115 3.036.546 4.391l.012.04c.19-1.449.609-2.925 1.039-4.176A34 34 0 0 1 8.517 3.35l.026-.054.007-.014.002-.004v-.001L9 3.5l-.447-.223a.5.5 0 0 1 .602-.252", clipRule: "evenodd" }) }));
}
};
IconSoundEffect.iconName = "sound-effect";
export default IconSoundEffect;