@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 2.55 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconSignIn = (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", { d: "M7.00008 6.25C7.00008 6.66421 7.33586 7 7.75008 7C8.16429 7 8.50008 6.66421 8.50008 6.25V5C8.50008 4.72386 8.72393 4.5 9.00008 4.5L19.0001 4.5C19.2762 4.5 19.5001 4.72386 19.5001 5V19C19.5001 19.2761 19.2762 19.5 19.0001 19.5H9.00008C8.72393 19.5 8.50008 19.2761 8.50008 19V17.75C8.50008 17.3358 8.16429 17 7.75008 17C7.33586 17 7.00008 17.3358 7.00008 17.75V19C7.00008 20.1046 7.89551 21 9.00008 21H19.0001C20.1046 21 21.0001 20.1046 21.0001 19V5C21.0001 3.89543 20.1046 3 19.0001 3H9.00008C7.89551 3 7.00008 3.89543 7.00008 5V6.25Z" }), _jsx("path", { d: "M10.4697 8.21967C10.1768 8.51256 10.1768 8.98744 10.4697 9.28033L12.4393 11.25L2.75 11.25C2.33579 11.25 2 11.5858 2 12C2 12.4142 2.33579 12.75 2.75 12.75L12.4497 12.75L10.4697 14.7301C10.1768 15.023 10.1768 15.4978 10.4697 15.7907C10.7626 16.0836 11.2374 16.0836 11.5303 15.7907L14.7855 12.5355C15.0784 12.2426 15.0784 11.7678 14.7855 11.4749L11.5303 8.21967C11.2374 7.92678 10.7626 7.92678 10.4697 8.21967Z" })] }));
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", { d: "M7 5C7 4.44772 7.44772 4 8 4H15C15.5523 4 16 4.44772 16 5V15C16 15.5523 15.5523 16 15 16H8C7.44772 16 7 15.5523 7 15V14.5C7 14.2239 6.77614 14 6.5 14C6.22386 14 6 14.2239 6 14.5V15C6 16.1046 6.89543 17 8 17H15C16.1046 17 17 16.1046 17 15V5C17 3.89543 16.1046 3 15 3H8C6.89543 3 6 3.89543 6 5V5.5C6 5.77614 6.22386 6 6.5 6C6.77614 6 7 5.77614 7 5.5V5Z" }), _jsx("path", { d: "M10.3536 7.14645C10.1583 6.95118 9.84171 6.95118 9.64645 7.14645C9.45118 7.34171 9.45118 7.65829 9.64645 7.85355L11.2929 9.5H2.5C2.22386 9.5 2 9.72386 2 10C2 10.2761 2.22386 10.5 2.5 10.5H11.2929L9.64645 12.1464C9.45118 12.3417 9.45118 12.6583 9.64645 12.8536C9.84171 13.0488 10.1583 13.0488 10.3536 12.8536L12.8536 10.3536C13.0488 10.1583 13.0488 9.84171 12.8536 9.64645L10.3536 7.14645Z" })] }));
}
};
IconSignIn.iconName = "sign-in";
export default IconSignIn;