@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 3.8 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", { 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: "M20 5.5H4C3.72386 5.5 3.5 5.72386 3.5 6V9.25C3.5 9.66421 3.16421 10 2.75 10C2.33579 10 2 9.66421 2 9.25V6C2 4.89543 2.89543 4 4 4H20C21.1046 4 22 4.89543 22 6V18C22 19.1046 21.1046 20 20 20H12.75C12.3358 20 12 19.6642 12 19.25C12 18.8358 12.3358 18.5 12.75 18.5H20C20.2761 18.5 20.5 18.2761 20.5 18V6C20.5 5.72386 20.2761 5.5 20 5.5Z" }), _jsx("path", { d: "M2.75 11.5C2.33579 11.5 2 11.8358 2 12.25C2 12.6642 2.33579 13 2.75 13C3.57076 13 4.38349 13.1617 5.14177 13.4758C5.90006 13.7898 6.58905 14.2502 7.16942 14.8306C7.74978 15.4109 8.21016 16.0999 8.52425 16.8582C8.83834 17.6165 9 18.4292 9 19.25C9 19.6642 9.33579 20 9.75 20C10.1642 20 10.5 19.6642 10.5 19.25C10.5 18.2323 10.2995 17.2245 9.91007 16.2842C9.52059 15.3439 8.94973 14.4896 8.23008 13.7699C7.51042 13.0503 6.65607 12.4794 5.7158 12.0899C4.77552 11.7005 3.76774 11.5 2.75 11.5Z" }), _jsx("path", { d: "M2 15.25C2 14.8358 2.33579 14.5 2.75 14.5C3.37378 14.5 3.99145 14.6229 4.56775 14.8616C5.14404 15.1003 5.66768 15.4502 6.10876 15.8912C6.54984 16.3323 6.89972 16.856 7.13843 17.4323C7.37714 18.0086 7.5 18.6262 7.5 19.25C7.5 19.6642 7.16421 20 6.75 20C6.33579 20 6 19.6642 6 19.25C6 18.8232 5.91594 18.4006 5.75261 18.0063C5.58928 17.612 5.34989 17.2537 5.0481 16.9519C4.74631 16.6501 4.38803 16.4107 3.99372 16.2474C3.59941 16.0841 3.1768 16 2.75 16C2.33579 16 2 15.6642 2 15.25Z" }), _jsx("path", { d: "M3.25 20C3.94036 20 4.5 19.4404 4.5 18.75C4.5 18.0596 3.94036 17.5 3.25 17.5C2.55964 17.5 2 18.0596 2 18.75C2 19.4404 2.55964 20 3.25 20Z" })] }));
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: "M3.12224 5.52051C3.29203 5.21034 3.62145 5 4 5H16C16.5523 5 17 5.44772 17 6V14C17 14.5523 16.5523 15 16 15H12.5C12.2239 15 12 15.2239 12 15.5C12 15.7761 12.2239 16 12.5 16H16C17.1046 16 18 15.1046 18 14V6C18 4.89543 17.1046 4 16 4H4C3.06626 4 2.28197 4.63988 2.06171 5.50506C1.99359 5.77267 2.22386 6 2.5 6C2.77614 6 2.98964 5.76274 3.12224 5.52051Z" }), _jsx("path", { d: "M2 8.5C2 8.22386 2.22386 8 2.5 8C3.48491 8 4.46018 8.19399 5.37013 8.5709C6.28007 8.94781 7.10686 9.50026 7.8033 10.1967C8.49974 10.8931 9.05219 11.7199 9.4291 12.6299C9.80601 13.5398 10 14.5151 10 15.5C10 15.7761 9.77614 16 9.5 16C9.22386 16 9 15.7761 9 15.5C9 14.6464 8.83187 13.8012 8.50522 13.0126C8.17856 12.2239 7.69978 11.5074 7.09619 10.9038C6.49261 10.3002 5.77606 9.82144 4.98744 9.49478C4.19883 9.16813 3.35359 9 2.5 9C2.22386 9 2 8.77614 2 8.5Z" }), _jsx("path", { d: "M2 11.5C2 11.2239 2.22386 11 2.5 11C3.09095 11 3.67611 11.1164 4.22208 11.3425C4.76804 11.5687 5.26412 11.9002 5.68198 12.318C6.09984 12.7359 6.43131 13.232 6.65746 13.7779C6.8836 14.3239 7 14.9091 7 15.5C7 15.7761 6.77614 16 6.5 16C6.22386 16 6 15.7761 6 15.5C6 15.0404 5.90947 14.5852 5.73358 14.1606C5.55769 13.736 5.29988 13.3501 4.97487 13.0251C4.64987 12.7001 4.26403 12.4423 3.83939 12.2664C3.41475 12.0905 2.95963 12 2.5 12C2.22386 12 2 11.7761 2 11.5Z" }), _jsx("path", { d: "M3 16C3.55229 16 4 15.5523 4 15C4 14.4477 3.55229 14 3 14C2.44772 14 2 14.4477 2 15C2 15.5523 2.44772 16 3 16Z" })] }));
}
};
IconMediaCast.iconName = "media-cast";
export default IconMediaCast;