@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
10 lines (9 loc) • 2.18 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconKey = (props) => {
const size = sizeMap[props?.size ?? "m"];
const label = props?.label ?? "Icon";
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 9.49997C17 8.11926 15.8807 6.99997 14.5 6.99997C13.1193 6.99997 12 8.11926 12 9.49997C12 10.8807 13.1193 12 14.5 12C15.8807 12 17 10.8807 17 9.49997ZM15.5 9.49997C15.5 8.94769 15.0523 8.49997 14.5 8.49997C13.9477 8.49997 13.5 8.94769 13.5 9.49997C13.5 10.0523 13.9477 10.5 14.5 10.5C15.0523 10.5 15.5 10.0523 15.5 9.49997Z" }), _jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.00002 9.5C8.00002 5.91015 10.9102 3 14.5 3C18.0899 3 21 5.91015 21 9.5C21 13.0899 18.0899 16 14.5 16C13.8379 16 13.1979 15.9008 12.5946 15.716L11.5303 16.7803C11.3896 16.921 11.1989 17 11 17L9.74997 17V18.25C9.74997 18.4489 9.67095 18.6397 9.5303 18.7803C9.38964 18.921 9.19888 19 8.99996 19L7.74998 19L7.75 20.2499C7.75 20.4488 7.67099 20.6396 7.53033 20.7802C7.38968 20.9209 7.19892 20.9999 7 20.9999L5 20.9999C3.89543 20.9999 3 20.1045 3 18.9999L3 17.5177C3 16.9873 3.21072 16.4785 3.58579 16.1035L8.28395 11.4054C8.09923 10.8021 8.00002 10.1621 8.00002 9.5ZM14.5 4.5C11.7386 4.5 9.50002 6.73858 9.50002 9.5C9.50002 10.1469 9.62247 10.7633 9.84479 11.3287C9.95398 11.6064 9.88814 11.9225 9.67713 12.1335L4.64645 17.1641C4.55268 17.2579 4.5 17.3851 4.5 17.5177L4.5 18.9999C4.5 19.2761 4.72386 19.4999 5 19.4999L6.24999 19.4999L6.24997 18.25C6.24997 18.051 6.32899 17.8603 6.46964 17.7196C6.61029 17.579 6.80106 17.4999 6.99998 17.5L8.24997 17.5L8.24997 16.25C8.24997 16.051 8.32899 15.8603 8.46965 15.7196C8.6103 15.579 8.80107 15.4999 8.99999 15.5L10.6893 15.5L11.8665 14.3229C12.0775 14.1119 12.3935 14.046 12.6713 14.1552C13.2367 14.3775 13.8531 14.5 14.5 14.5C17.2614 14.5 19.5 12.2614 19.5 9.5C19.5 6.73858 17.2614 4.5 14.5 4.5Z" })] }));
};
IconKey.iconName = "key";
export default IconKey;