@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 1.77 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconMediaCast = (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: "M20 5.5H4a.5.5 0 0 0-.5.5v3.25a.75.75 0 0 1-1.5 0V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-7.25a.75.75 0 0 1 0-1.5H20a.5.5 0 0 0 .5-.5V6a.5.5 0 0 0-.5-.5" }), _jsx("path", { d: "M2.75 11.5a.75.75 0 0 0 0 1.5A6.25 6.25 0 0 1 9 19.25a.75.75 0 0 0 1.5 0 7.75 7.75 0 0 0-7.75-7.75" }), _jsx("path", { d: "M2 15.25a.75.75 0 0 1 .75-.75 4.75 4.75 0 0 1 4.75 4.75.75.75 0 0 1-1.5 0A3.25 3.25 0 0 0 2.75 16a.75.75 0 0 1-.75-.75M3.25 20a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5" })] }));
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: "M3.122 5.52A1 1 0 0 1 4 5h12a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1h-3.5a.5.5 0 0 0 0 1H16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H4a2 2 0 0 0-1.938 1.505c-.068.268.162.495.438.495s.49-.237.622-.48" }), _jsx("path", { d: "M2 8.5a.5.5 0 0 1 .5-.5 7.5 7.5 0 0 1 7.5 7.5.5.5 0 0 1-1 0A6.5 6.5 0 0 0 2.5 9a.5.5 0 0 1-.5-.5" }), _jsx("path", { d: "M2 11.5a.5.5 0 0 1 .5-.5A4.5 4.5 0 0 1 7 15.5a.5.5 0 0 1-1 0A3.5 3.5 0 0 0 2.5 12a.5.5 0 0 1-.5-.5M3 16a1 1 0 1 0 0-2 1 1 0 0 0 0 2" })] }));
}
};
IconMediaCast.iconName = "media-cast";
export default IconMediaCast;