@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 1.87 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconHeadphones = (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", { d: "M12 3.5A8.5 8.5 0 0 0 3.5 12v5.25a.75.75 0 0 1-1.5 0V12C2 6.477 6.477 2 12 2s10 4.477 10 10v5.25a.75.75 0 0 1-1.5 0V12A8.5 8.5 0 0 0 12 3.5" }), _jsx("path", { fillRule: "evenodd", d: "M7 13a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-5a2 2 0 0 0-2-2zm1 1.5H7a.5.5 0 0 0-.5.5v5a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-5a.5.5 0 0 0-.5-.5M14 15a2 2 0 0 1 2-2h1a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2zm2-.5h1a.5.5 0 0 1 .5.5v5a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-5a.5.5 0 0 1 .5-.5", clipRule: "evenodd" })] }));
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", { d: "M10 3a7 7 0 0 0-7 7v4.5a.5.5 0 0 1-1 0V10a8 8 0 1 1 16 0v4.5a.5.5 0 0 1-1 0V10a7 7 0 0 0-7-7" }), _jsx("path", { fillRule: "evenodd", d: "M5.5 11A1.5 1.5 0 0 0 4 12.5v4A1.5 1.5 0 0 0 5.5 18h1A1.5 1.5 0 0 0 8 16.5v-4A1.5 1.5 0 0 0 6.5 11zm1 1h-1a.5.5 0 0 0-.5.5v4a.5.5 0 0 0 .5.5h1a.5.5 0 0 0 .5-.5v-4a.5.5 0 0 0-.5-.5M12 12.5a1.5 1.5 0 0 1 1.5-1.5h1a1.5 1.5 0 0 1 1.5 1.5v4a1.5 1.5 0 0 1-1.5 1.5h-1a1.5 1.5 0 0 1-1.5-1.5zm1.5-.5h1a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 .5-.5", clipRule: "evenodd" })] }));
}
};
IconHeadphones.iconName = "headphones";
export default IconHeadphones;