@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 1.18 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconPluginFilled = (props) => {
const size = sizeMap[props?.size ?? "m"];
const label = props?.label ?? "Icon";
switch (props?.size) {
case "l":
return (_jsx("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: "M4 8a2 2 0 0 1 2-2h2.5a.5.5 0 0 0 .5-.5V5a3 3 0 1 1 6 0v.5a.5.5 0 0 0 .5.5H18a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-1.5a2 2 0 0 1 2-2h.5a2 2 0 1 0 0-4H6a2 2 0 0 1-2-2z" }) }));
default:
return (_jsx("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: "M10 2a2 2 0 0 0-2 2 1 1 0 0 1-1 1H6a2 2 0 0 0-2 2v1a2 2 0 0 0 2 2 1 1 0 1 1 0 2 2 2 0 0 0-2 2v1a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-1a1 1 0 0 1-1-1 2 2 0 0 0-2-2" }) }));
}
};
IconPluginFilled.iconName = "plugin--filled";
export default IconPluginFilled;