@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 1.35 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconFileFilled = (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: "M11 2H6C4.89543 2 4 2.89543 4 4V20C4 21.1046 4.89543 22 6 22H18C19.1046 22 20 21.1046 20 20V11H13C11.8954 11 11 10.1046 11 9V2Z" }), _jsx("path", { d: "M19.25 9.5L12.5 2.75V9C12.5 9.27614 12.7239 9.5 13 9.5H19.25Z" })] }));
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: "M10 2H6C4.89543 2 4 2.89543 4 4V16C4 17.1046 4.89543 18 6 18H14C15.1046 18 16 17.1046 16 16V8H12C10.8954 8 10 7.10457 10 6V2Z" }), _jsx("path", { d: "M15.9729 7C15.9048 6.59137 15.711 6.21097 15.4142 5.91421L12.0858 2.58579C11.789 2.28903 11.4086 2.09517 11 2.02714V6C11 6.55228 11.4477 7 12 7H15.9729Z" })] }));
}
};
IconFileFilled.iconName = "file--filled";
export default IconFileFilled;