UNPKG

@elgato/icons

Version:

Icons used throughout the Elgato ecosystem.

15 lines (14 loc) 2.97 kB
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import { sizeMap } from "../../metadata/sizing.js"; const IconAvatar = (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: "M16 9.5C16 11.7091 14.2091 13.5 12 13.5C9.79086 13.5 8 11.7091 8 9.5C8 7.29086 9.79086 5.5 12 5.5C14.2091 5.5 16 7.29086 16 9.5ZM14.5 9.5C14.5 10.8807 13.3807 12 12 12C10.6193 12 9.5 10.8807 9.5 9.5C9.5 8.11929 10.6193 7 12 7C13.3807 7 14.5 8.11929 14.5 9.5Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22ZM12 20.5C13.9921 20.5 15.8242 19.8147 17.2733 18.6669C16.5953 17.9965 15.7952 17.4611 14.9157 17.09C13.9826 16.6962 12.9793 16.4956 11.9665 16.5001C10.9537 16.5046 9.95229 16.7142 9.02268 17.1163C8.16704 17.4864 7.38856 18.0124 6.72666 18.6669C8.17577 19.8147 10.0079 20.5 12 20.5ZM15.4989 15.708C16.5696 16.1598 17.5423 16.8145 18.3634 17.6355C19.6928 16.1355 20.5 14.162 20.5 12C20.5 7.30558 16.6944 3.5 12 3.5C7.30558 3.5 3.5 7.30558 3.5 12C3.5 14.162 4.30717 16.1355 5.63659 17.6355C6.43846 16.8338 7.38516 16.1902 8.42722 15.7395C9.54275 15.2571 10.7444 15.0055 11.9598 15.0001C13.1752 14.9947 14.3791 15.2355 15.4989 15.708Z" })] })); 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: "M13 8C13 9.65685 11.6569 11 10 11C8.34315 11 7 9.65685 7 8C7 6.34315 8.34315 5 10 5C11.6569 5 13 6.34315 13 8ZM12 8C12 9.10457 11.1046 10 10 10C8.89543 10 8 9.10457 8 8C8 6.89543 8.89543 6 10 6C11.1046 6 12 6.89543 12 8Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18ZM10 17C11.7903 17 13.4236 16.3279 14.6614 15.2223C14.1177 14.5514 13.435 14.005 12.6591 13.6214C11.8103 13.2018 10.8742 12.989 9.92739 13.0004C8.98056 13.0119 8.04988 13.2473 7.21146 13.6874C6.48815 14.067 5.85121 14.5897 5.33858 15.2223C6.57639 16.3279 8.20971 17 10 17ZM13.1023 12.725C13.9715 13.1547 14.7406 13.7596 15.362 14.5001C16.3843 13.2833 17 11.7136 17 10C17 6.13401 13.866 3 10 3C6.13401 3 3 6.13401 3 10C3 11.7136 3.61572 13.2833 4.63799 14.5001C5.2225 13.8036 5.93837 13.2262 6.74671 12.8019C7.72486 12.2885 8.81065 12.0139 9.91529 12.0005C11.0199 11.9871 12.112 12.2354 13.1023 12.725Z" })] })); } }; IconAvatar.iconName = "avatar"; export default IconAvatar;