@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
10 lines (9 loc) • 870 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconTemplate = (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: "M3 5C3 3.89543 3.89543 3 5 3H19C20.1046 3 21 3.89543 21 5V19C21 20.1046 20.1046 21 19 21H5C3.89543 21 3 20.1046 3 19V5ZM14.5 4.5H19C19.2761 4.5 19.5 4.72386 19.5 5V9.5H14.5V4.5ZM13 4.5H5C4.72386 4.5 4.5 4.72386 4.5 5V19C4.5 19.2761 4.72386 19.5 5 19.5H13V4.5ZM14.5 19.5H19C19.2761 19.5 19.5 19.2761 19.5 19V11H14.5V19.5Z" }) }));
};
IconTemplate.iconName = "template";
export default IconTemplate;