@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 3.16 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconVolumeDown = (props) => {
const size = sizeMap[props?.size ?? "m"];
const label = props?.label ?? "Icon";
switch (props?.size) {
case "l":
return (_jsx("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", { d: "M9.29297 3.70897C9.92294 3.07902 11 3.52511 11 4.416V19.5879C10.9998 20.4785 9.92289 20.9246 9.29297 20.2949L5 16.0019H3C1.89548 16.0019 1.00007 15.1064 1 14.0019V10.0019C1 8.89737 1.89543 8.00194 3 8.00194H5L9.29297 3.70897ZM18 3.49999C18.4142 3.49999 18.75 3.83577 18.75 4.24999V17.9394L21.4697 15.2197C21.7626 14.9268 22.2374 14.9268 22.5303 15.2197C22.8231 15.5126 22.8232 15.9874 22.5303 16.2803L18.5303 20.2803C18.4984 20.3121 18.4635 20.3393 18.4277 20.3642C18.3836 20.395 18.3365 20.4215 18.2861 20.4424C18.2541 20.4556 18.2208 20.464 18.1875 20.4726C18.1744 20.476 18.1618 20.4817 18.1484 20.4844C18.1429 20.4855 18.1374 20.4863 18.1318 20.4873C18.089 20.4949 18.0451 20.5 18 20.5C17.9546 20.5 17.9104 20.495 17.8672 20.4873C17.8617 20.4863 17.8561 20.4855 17.8506 20.4844C17.8372 20.4817 17.8246 20.4761 17.8115 20.4726C17.7783 20.464 17.7449 20.4556 17.7129 20.4424C17.6838 20.4303 17.657 20.414 17.6299 20.3984C17.5732 20.366 17.5181 20.3286 17.4697 20.2803L13.4697 16.2803C13.1768 15.9874 13.1769 15.5126 13.4697 15.2197C13.7626 14.9268 14.2374 14.9268 14.5303 15.2197L17.25 17.9394V4.24999C17.25 3.83577 17.5858 3.49999 18 3.49999ZM5.6211 9.50194H3C2.72386 9.50194 2.5 9.7258 2.5 10.0019V14.0019C2.50008 14.278 2.7239 14.5019 3 14.5019H5.6211L9.5 18.3808V5.62303L5.6211 9.50194Z" }) }));
default:
return (_jsx("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", { d: "M15 3C15.2761 3.00004 15.5 3.22388 15.5 3.5V15.293L17.6465 13.1465C17.8417 12.9513 18.1583 12.9512 18.3535 13.1465C18.5487 13.3417 18.5487 13.6583 18.3535 13.8535L15.3535 16.8535C15.3195 16.8876 15.2804 16.9134 15.2402 16.9355C15.196 16.96 15.1488 16.9801 15.0977 16.9902C15.0329 17.0031 14.9661 17.0032 14.9014 16.9902C14.8502 16.98 14.803 16.9601 14.7588 16.9355C14.7189 16.9134 14.6803 16.8874 14.6465 16.8535L11.6465 13.8535C11.4512 13.6583 11.4512 13.3417 11.6465 13.1465C11.8418 12.9513 12.1583 12.9512 12.3535 13.1465L14.5 15.293V3.5C14.5 3.22386 14.7239 3 15 3ZM8.14648 3.14648C8.28948 3.00349 8.50457 2.9607 8.69141 3.03809C8.87821 3.11549 8.99999 3.2978 9 3.5V16.5C9 16.7022 8.8782 16.8845 8.69141 16.9619C8.50457 17.0393 8.28948 16.9965 8.14648 16.8535L4.29297 13H3C1.89543 13 1 12.1046 1 11V9C1.00001 7.89544 1.89544 7 3 7H4.29297L8.14648 3.14648ZM4.85352 7.85352C4.75975 7.94728 4.63261 8 4.5 8H3C2.44772 8 2.00001 8.44772 2 9V11C2 11.5523 2.44772 12 3 12H4.5C4.6326 12 4.75975 12.0527 4.85352 12.1465L8 15.293V4.70703L4.85352 7.85352Z" }) }));
}
};
IconVolumeDown.iconName = "volume-down";
export default IconVolumeDown;