@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
10 lines (9 loc) • 2.63 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconDesign = (props) => {
const size = sizeMap[props?.size ?? "m"];
const label = props?.label ?? "Icon";
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: "M3.85072 12.4479C3.94891 12.1533 4.11433 11.8856 4.33388 11.6661L12.5858 3.41415C13.3669 2.63311 14.6332 2.63311 15.4142 3.41416L16.5858 4.58573C17.3669 5.36678 17.3669 6.63311 16.5858 7.41416L8.33388 15.6661C8.11433 15.8856 7.84668 16.0511 7.55212 16.1492L4.84608 17.0513C3.67344 17.4421 2.55783 16.3265 2.94871 15.1539L3.85072 12.4479ZM7.23589 15.2006L4.52985 16.1026C4.13897 16.2329 3.7671 15.861 3.89739 15.4701L4.79941 12.7641C4.8485 12.6168 4.93121 12.483 5.04098 12.3732L11.3536 6.0606L13.9394 8.64639L7.62677 14.959C7.51699 15.0688 7.38317 15.1515 7.23589 15.2006ZM12.0607 5.3535L14.6465 7.93928L15.8787 6.70705C16.2692 6.31652 16.2692 5.68336 15.8787 5.29284L14.7071 4.12126C14.3166 3.73074 13.6834 3.73074 13.2929 4.12126L12.0607 5.3535Z" }), _jsx("path", { d: "M5.64615 8.23218C5.84141 8.42744 5.84141 8.74402 5.64615 8.93928C5.45088 9.13454 5.1343 9.13454 4.93904 8.93928L3.41391 7.41416C2.63286 6.63311 2.63286 5.36678 3.41391 4.58573L4.58548 3.41416C5.36653 2.63311 6.63286 2.63311 7.41391 3.41415L8.93904 4.93928C9.1343 5.13454 9.1343 5.45113 8.93904 5.64639C8.74378 5.84165 8.42719 5.84165 8.23193 5.64639L6.70681 4.12126C6.31628 3.73074 5.68312 3.73074 5.29259 4.12126L4.12102 5.29284C3.73049 5.68336 3.73049 6.31652 4.12102 6.70705L4.35354 6.93957L5.64642 5.64648C5.84166 5.4512 6.15825 5.45117 6.35352 5.64642C6.5488 5.84166 6.54883 6.15825 6.35358 6.35352L5.06064 7.64667L5.64615 8.23218Z" }), _jsx("path", { d: "M16.5855 15.4142C17.3665 14.6331 17.3665 13.3668 16.5855 12.5857L15.0604 11.0606C14.8651 10.8653 14.5485 10.8653 14.3533 11.0606C14.158 11.2559 14.158 11.5724 14.3533 11.7677L15.8784 13.2928C16.2689 13.6834 16.2689 14.3165 15.8784 14.707L14.7068 15.8786C14.3163 16.2691 13.6831 16.2691 13.2926 15.8786L13.0605 15.6466L14.3536 14.3536C14.5488 14.1583 14.5488 13.8417 14.3536 13.6464C14.1583 13.4512 13.8417 13.4512 13.6464 13.6464L12.3534 14.9395L11.7675 14.3535C11.5722 14.1582 11.2556 14.1582 11.0604 14.3535C10.8651 14.5488 10.8651 14.8653 11.0604 15.0606L12.5855 16.5857C13.3665 17.3668 14.6329 17.3668 15.4139 16.5857L16.5855 15.4142Z" })] }));
};
IconDesign.iconName = "design";
export default IconDesign;