@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 2.66 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconComposeFilled = (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: "M21.0859 4.58579L19.4143 2.91422C18.6332 2.13317 17.3669 2.13317 16.5859 2.91422L15.2804 4.21967L19.7804 8.71967L21.0859 7.41422C21.8669 6.63317 21.8669 5.36684 21.0859 4.58579Z" }), _jsx("path", { d: "M8.39179 11.1083L14.2197 5.28033L18.7197 9.78033L12.8918 15.6083C12.6355 15.8646 12.3143 16.0464 11.9626 16.1344L8.11698 17.0958C7.3846 17.2789 6.72121 16.6155 6.9043 15.8831L7.86572 12.0374C7.95364 11.6858 8.13547 11.3646 8.39179 11.1083Z" }), _jsx("path", { d: "M12.25 3C12.6642 3 13 3.33579 13 3.75C13 4.16421 12.6642 4.5 12.25 4.5H5C4.72386 4.5 4.5 4.72386 4.5 5V19C4.5 19.2761 4.72386 19.5 5 19.5H19C19.2761 19.5 19.5 19.2761 19.5 19V11.75C19.5 11.3358 19.8358 11 20.25 11C20.6642 11 21 11.3358 21 11.75V19C21 20.1046 20.1046 21 19 21H5C3.89543 21 3 20.1046 3 19V5C3 3.89543 3.89543 3 5 3H12.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.5 3.00022C10.7761 3.00022 11 3.22407 11 3.50022C10.9999 3.77626 10.7761 4.00022 10.5 4.00022H5C4.44772 4.00022 4 4.44793 4 5.00022V15.0002C4.00011 15.5524 4.44778 16.0002 5 16.0002H15C15.5522 16.0002 15.9999 15.5524 16 15.0002V9.50022C16 9.22407 16.2239 9.00022 16.5 9.00022C16.7761 9.00022 17 9.22407 17 9.50022V15.0002C16.9999 16.0358 16.2127 16.8872 15.2041 16.9895L15 17.0002H5L4.7959 16.9895C3.85441 16.894 3.10628 16.1458 3.01074 15.2043L3 15.0002V5.00022C3 3.89565 3.89543 3.00022 5 3.00022H10.5Z" }), _jsx("path", { d: "M15.75 7.45725L10.3535 12.8537C10.2936 12.9135 10.219 12.9573 10.1377 12.9807L6.6377 13.9807C6.46327 14.0304 6.27482 13.9819 6.14648 13.8537C6.0182 13.7254 5.96972 13.537 6.01953 13.3625L7.01953 9.86252L7.04004 9.80295C7.06496 9.74484 7.10155 9.69172 7.14648 9.6467L12.543 4.25022L15.75 7.45725Z" }), _jsx("path", { d: "M14.124 2.66916C15.0096 1.78407 16.4456 1.78382 17.3311 2.66916C18.2163 3.55463 18.2161 4.99061 17.3311 5.87619L16.457 6.75022L13.25 3.54318L14.124 2.66916Z" })] }));
}
};
IconComposeFilled.iconName = "compose--filled";
export default IconComposeFilled;