@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 2.7 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconPerson = (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", { fillRule: "evenodd", clipRule: "evenodd", d: "M17 7C17 9.76142 14.7614 12 12 12C9.23858 12 7 9.76142 7 7C7 4.23858 9.23858 2 12 2C14.7614 2 17 4.23858 17 7ZM15.5 7C15.5 8.933 13.933 10.5 12 10.5C10.067 10.5 8.5 8.933 8.5 7C8.5 5.067 10.067 3.5 12 3.5C13.933 3.5 15.5 5.067 15.5 7Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14 14H10C6.68629 14 4 16.6863 4 20C4 21.1046 4.89543 22 6 22H18C19.1046 22 20 21.1046 20 20C20 16.6863 17.3137 14 14 14ZM5.5 20C5.5 17.5147 7.51472 15.5 10 15.5H14C16.4853 15.5 18.5 17.5147 18.5 20C18.5 20.2761 18.2761 20.5 18 20.5H6C5.72386 20.5 5.5 20.2761 5.5 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", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.0001 6C14.0001 8.20914 12.2092 10 10.0001 10C7.79093 10 6.00007 8.20914 6.00007 6C6.00007 3.79086 7.79093 2 10.0001 2C12.2092 2 14.0001 3.79086 14.0001 6ZM13.0001 6C13.0001 7.65685 11.6569 9 10.0001 9C8.34322 9 7.00007 7.65685 7.00007 6C7.00007 4.34315 8.34322 3 10.0001 3C11.6569 3 13.0001 4.34315 13.0001 6Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.2512 18C15.7694 18 17.0482 16.7238 16.4672 15.3212C16.1154 14.4719 15.5998 13.7003 14.9498 13.0503C14.2998 12.4002 13.5281 11.8846 12.6789 11.5328C11.8296 11.1811 10.9193 11 10.0001 11C9.08082 11 8.17057 11.1811 7.32129 11.5328C6.47201 11.8846 5.70033 12.4002 5.05032 13.0503C4.40031 13.7003 3.8847 14.4719 3.53291 15.3212C2.95194 16.7238 4.23079 18 5.74895 18H14.2512ZM14.2427 13.7574C14.7999 14.3145 15.2418 14.9759 15.5433 15.7039C15.6715 16.0132 15.6101 16.2833 15.397 16.5244C15.1614 16.791 14.7414 17 14.2512 17H5.74895C5.25878 17 4.83871 16.791 4.6031 16.5244C4.39008 16.2833 4.32868 16.0132 4.45679 15.7039C4.75832 14.9759 5.20028 14.3145 5.75743 13.7574C6.31458 13.2002 6.97602 12.7583 7.70397 12.4567C8.43192 12.1552 9.21214 12 10.0001 12C10.788 12 11.5682 12.1552 12.2962 12.4567C13.0241 12.7583 13.6856 13.2002 14.2427 13.7574Z" })] }));
}
};
IconPerson.iconName = "person";
export default IconPerson;