@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 1.69 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconMediaCastFilled = (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: "M2 6a2 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-.75-.75A9.25 9.25 0 0 0 2.75 10 .75.75 0 0 1 2 9.25z" }), _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: "M2.5 6H3a9 9 0 0 1 9 9v.5a.5.5 0 0 0 .5.5H16a2 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.495" }), _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.5 11a.5.5 0 0 0 0 1A3.5 3.5 0 0 1 6 15.5a.5.5 0 0 0 1 0A4.5 4.5 0 0 0 2.5 11M4 15a1 1 0 1 1-2 0 1 1 0 0 1 2 0" })] }));
}
};
IconMediaCastFilled.iconName = "media-cast--filled";
export default IconMediaCastFilled;