@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
10 lines (9 loc) • 1.09 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconDiamond = (props) => {
const size = sizeMap[props?.size ?? "m"];
const label = props?.label ?? "Icon";
return (_jsx("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: "M20.5251 11.6464L12.3535 3.47488C12.1582 3.27962 11.8417 3.27961 11.6464 3.47488L3.47482 11.6464C3.27955 11.8417 3.27955 12.1583 3.47482 12.3536L11.6464 20.5251C11.8417 20.7204 12.1582 20.7204 12.3535 20.5251L20.5251 12.3536C20.7203 12.1583 20.7203 11.8417 20.5251 11.6464ZM13.4142 2.41422C12.6331 1.63317 11.3668 1.63317 10.5857 2.41422L2.41416 10.5858C1.63311 11.3668 1.63311 12.6332 2.41416 13.4142L10.5857 21.5858C11.3668 22.3668 12.6331 22.3668 13.4142 21.5858L21.5857 13.4142C22.3668 12.6332 22.3668 11.3668 21.5857 10.5858L13.4142 2.41422Z" }) }));
};
IconDiamond.iconName = "diamond";
export default IconDiamond;