@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 2.8 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconWave = (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", { d: "M7.2 8.75C7.2 8.33579 6.86421 8 6.45 8C6.03579 8 5.7 8.33579 5.7 8.75V15.25C5.7 15.6642 6.03579 16 6.45 16C6.86421 16 7.2 15.6642 7.2 15.25V8.75Z" }), _jsx("path", { d: "M13.8499 4C14.2641 4 14.5999 4.33579 14.5999 4.75V19.25C14.5999 19.6642 14.2641 20 13.8499 20C13.4357 20 13.0999 19.6642 13.0999 19.25V4.75C13.0999 4.33579 13.4357 4 13.8499 4Z" }), _jsx("path", { d: "M10.15 10C10.5642 10 10.9 10.3358 10.9 10.75V13.25C10.9 13.6642 10.5642 14 10.15 14C9.73574 14 9.39995 13.6642 9.39995 13.25V10.75C9.39995 10.3358 9.73574 10 10.15 10Z" }), _jsx("path", { d: "M16.7999 15.25C16.7999 15.6642 17.1356 16 17.5499 16C17.9641 16 18.2999 15.6642 18.2999 15.25V8.75C18.2999 8.33579 17.9641 8 17.5499 8C17.1356 8 16.7999 8.33579 16.7999 8.75V15.25Z" }), _jsx("path", { d: "M21.25 14C20.8358 14 20.5 13.6642 20.5 13.25V10.75C20.5 10.3358 20.8358 10 21.25 10C21.6642 10 22 10.3358 22 10.75V13.25C22 13.6642 21.6642 14 21.25 14Z" }), _jsx("path", { d: "M2.75 10C3.16421 10 3.5 10.3358 3.5 10.75V13.25C3.5 13.6642 3.16421 14 2.75 14C2.33579 14 2 13.6642 2 13.25V10.75C2 10.3358 2.33579 10 2.75 10Z" })] }));
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", { d: "M12 3.5C12 3.22386 11.7761 3 11.5 3C11.2239 3 11 3.22386 11 3.5V16.5C11 16.7761 11.2239 17 11.5 17C11.7761 17 12 16.7761 12 16.5V3.5Z" }), _jsx("path", { d: "M18 8.5C18 8.22386 17.7761 8 17.5 8C17.2239 8 17 8.22386 17 8.5V11.5C17 11.7761 17.2239 12 17.5 12C17.7761 12 18 11.7761 18 11.5V8.5Z" }), _jsx("path", { d: "M8.5 8C8.77614 8 9 8.22386 9 8.5V11.5C9 11.7761 8.77614 12 8.5 12C8.22386 12 8 11.7761 8 11.5V8.5C8 8.22386 8.22386 8 8.5 8Z" }), _jsx("path", { d: "M3 8.5C3 8.22386 2.77614 8 2.5 8C2.22386 8 2 8.22386 2 8.5V11.5C2 11.7761 2.22386 12 2.5 12C2.77614 12 3 11.7761 3 11.5V8.5Z" }), _jsx("path", { d: "M14.5 6C14.7761 6 15 6.22386 15 6.5V13.5C15 13.7761 14.7761 14 14.5 14C14.2239 14 14 13.7761 14 13.5V6.5C14 6.22386 14.2239 6 14.5 6Z" }), _jsx("path", { d: "M6 6.5C6 6.22386 5.77614 6 5.5 6C5.22386 6 5 6.22386 5 6.5V13.5C5 13.7761 5.22386 14 5.5 14C5.77614 14 6 13.7761 6 13.5V6.5Z" })] }));
}
};
IconWave.iconName = "wave";
export default IconWave;