@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
17 lines (16 loc) • 1.77 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconInfo = (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: "M11 7a1 1 0 1 1 2 0 1 1 0 0 1-2 0M11.25 17.25a.75.75 0 0 0 1.5 0v-7a.75.75 0 0 0-1.5 0z" }), _jsx("path", { fillRule: "evenodd", d: "M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10m-1.5 0a8.5 8.5 0 1 1-17 0 8.5 8.5 0 0 1 17 0", clipRule: "evenodd" })] }));
case "s":
return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 16 16", width: size, height: size, "aria-label": label, role: "img", ...props, children: _jsx("path", { fillRule: "evenodd", d: "M8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12m0 1A7 7 0 1 0 8 1a7 7 0 0 0 0 14m0-8.5a.5.5 0 0 1 .5.5v4.502a.5.5 0 0 1-1 0V7a.5.5 0 0 1 .5-.5m0-1A.75.75 0 1 0 8 4a.75.75 0 0 0 0 1.5", clipRule: "evenodd" }) }));
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: "M10 8.5a.5.5 0 0 1 .5.5v5.5a.5.5 0 0 1-1 0V9a.5.5 0 0 1 .5-.5M10 7a1 1 0 1 0 0-2 1 1 0 0 0 0 2" }), _jsx("path", { fillRule: "evenodd", d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16m0-1a7 7 0 1 0 0-14 7 7 0 0 0 0 14", clipRule: "evenodd" })] }));
}
};
IconInfo.iconName = "info";
export default IconInfo;