@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
10 lines (9 loc) • 735 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", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 24 24", width: size, height: size, "aria-label": label, role: "img", ...props, children: _jsx("path", { fillRule: "evenodd", d: "M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2zm11.5-.5H19a.5.5 0 0 1 .5.5v4.5h-5zm-1.5 0H5a.5.5 0 0 0-.5.5v14a.5.5 0 0 0 .5.5h8zm1.5 15H19a.5.5 0 0 0 .5-.5v-8h-5z", clipRule: "evenodd" }) }));
};
IconTemplate.iconName = "template";
export default IconTemplate;