@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 2.94 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconVolume1 = (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: "M9.29289 20.2928L5 15.9999H3C1.89543 15.9999 1 15.1045 1 13.9999V9.9999C1 8.89533 1.89543 7.9999 3 7.9999H5L9.29289 3.70701C9.92286 3.07704 11 3.52321 11 4.41411V19.5857C11 20.4766 9.92286 20.9228 9.29289 20.2928ZM5.62132 14.4999H3C2.72386 14.4999 2.5 14.276 2.5 13.9999V9.9999C2.5 9.72376 2.72386 9.4999 3 9.4999H5.62132L9.5 5.62122V18.3786L5.62132 14.4999Z" }), _jsx("path", { d: "M14.5355 8.46437C14.2426 8.17147 13.7678 8.17147 13.4749 8.46437C13.182 8.75726 13.182 9.23213 13.4749 9.52503C13.7999 9.85003 14.0577 10.2359 14.2336 10.6605C14.4095 11.0851 14.5 11.5403 14.5 11.9999C14.5 12.4595 14.4095 12.9147 14.2336 13.3393C14.0577 13.7639 13.7999 14.1498 13.4749 14.4748C13.182 14.7677 13.182 15.2425 13.4749 15.5354C13.7678 15.8283 14.2426 15.8283 14.5355 15.5354C14.9998 15.0711 15.3681 14.5199 15.6194 13.9133C15.8707 13.3067 16 12.6565 16 11.9999C16 11.3433 15.8707 10.6931 15.6194 10.0865C15.3681 9.47985 14.9998 8.92866 14.5355 8.46437Z" })] }));
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: "M9 3.50001C9 3.29778 8.87818 3.11547 8.69134 3.03807C8.5045 2.96068 8.28945 3.00346 8.14645 3.14646L4.29289 7.00001H3C1.89543 7.00001 1 7.89545 1 9.00001V11C1 12.1046 1.89543 13 3 13H4.29289L8.14645 16.8536C8.28945 16.9966 8.5045 17.0393 8.69134 16.962C8.87818 16.8846 9 16.7022 9 16.5V3.50001ZM4.85355 7.85357L8 4.70712V15.2929L4.85355 12.1465C4.75979 12.0527 4.63261 12 4.5 12H3C2.44772 12 2 11.5523 2 11V9.00001C2 8.44773 2.44772 8.00001 3 8.00001H4.5C4.63261 8.00001 4.75979 7.94734 4.85355 7.85357Z" }), _jsx("path", { d: "M11.8284 7.17159C11.6332 6.97633 11.3166 6.97633 11.1213 7.17159C10.9261 7.36685 10.9261 7.68343 11.1213 7.87869C11.3999 8.15727 11.6209 8.48799 11.7716 8.85196C11.9224 9.21594 12 9.60605 12 10C12 10.394 11.9224 10.7841 11.7716 11.1481C11.6209 11.512 11.3999 11.8428 11.1213 12.1213C10.9261 12.3166 10.9261 12.6332 11.1213 12.8284C11.3166 13.0237 11.6332 13.0237 11.8284 12.8284C12.1999 12.457 12.4945 12.0161 12.6955 11.5307C12.8965 11.0454 13 10.5253 13 10C13 9.47473 12.8965 8.95458 12.6955 8.46928C12.4945 7.98398 12.1999 7.54302 11.8284 7.17159Z" })] }));
}
};
IconVolume1.iconName = "volume1";
export default IconVolume1;