@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 1.19 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconAspectRatioFilled = (props) => {
const size = sizeMap[props?.size ?? "m"];
const label = props?.label ?? "Icon";
switch (props?.size) {
case "l":
return (_jsxs("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", { d: "M2 6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-2V10a2 2 0 0 0-2-2H2z" }), _jsx("path", { d: "M14 20h2.5V10a.5.5 0 0 0-.5-.5h-2zM12.5 9.5H2V18a2 2 0 0 0 2 2h8.5z" })] }));
default:
return (_jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", viewBox: "0 0 20 20", width: size, height: size, "aria-label": label, role: "img", ...props, children: [_jsx("path", { d: "M4 4a2 2 0 0 0-2 2v1h11a2 2 0 0 1 2 2v7h1a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z" }), _jsx("path", { d: "M14 16V9a1 1 0 0 0-1-1h-2v8zM10 16V8H2v6a2 2 0 0 0 2 2z" })] }));
}
};
IconAspectRatioFilled.iconName = "aspect-ratio--filled";
export default IconAspectRatioFilled;