@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 1.25 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconAvatarFilled = (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", { fillRule: "evenodd", d: "M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10m4-12.5a4 4 0 1 1-8 0 4 4 0 0 1 8 0m2.363 8.136A8.48 8.48 0 0 1 12 20.5a8.48 8.48 0 0 1-6.363-2.865 9 9 0 0 1 12.726 0", clipRule: "evenodd" }) }));
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", { fillRule: "evenodd", d: "M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16m3-10a3 3 0 1 1-6 0 3 3 0 0 1 6 0m2.362 6.5A6.99 6.99 0 0 1 10 17a6.99 6.99 0 0 1-5.362-2.5 7 7 0 0 1 10.724 0", clipRule: "evenodd" }) }));
}
};
IconAvatarFilled.iconName = "avatar--filled";
export default IconAvatarFilled;