@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 2.65 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconCrossfade = (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.25 5C21.6642 5 22 5.33579 22 5.75C22 6.16421 21.6642 6.5 21.25 6.5H19.2836C17.4934 6.5 15.8267 7.41217 14.8617 8.91997L10.4017 15.8886C9.16103 17.8272 7.01804 19 4.71641 19H2.75C2.33579 19 2 18.6642 2 18.25C2 17.8358 2.33579 17.5 2.75 17.5H4.71641C6.50656 17.5 8.17334 16.5878 9.13833 15.08L13.5983 8.11139C14.839 6.17279 16.982 5 19.2836 5H21.25Z" }), _jsx("path", { d: "M2.75 5C2.33579 5 2 5.33579 2 5.75C2 6.16421 2.33579 6.5 2.75 6.5H4.71641C6.50656 6.5 8.17334 7.41217 9.13833 8.91997L9.5874 9.62164C9.81068 9.97052 10.2745 10.0723 10.6234 9.84905C10.9723 9.62577 11.0741 9.16194 10.8508 8.81306L10.4017 8.11139C9.16103 6.17279 7.01804 5 4.71641 5H2.75Z" }), _jsx("path", { d: "M14.4126 14.3784C14.1893 14.0295 13.7255 13.9277 13.3766 14.151C13.0277 14.3742 12.9259 14.8381 13.1492 15.1869L13.5983 15.8886C14.839 17.8272 16.982 19 19.2836 19H21.25C21.6642 19 22 18.6642 22 18.25C22 17.8358 21.6642 17.5 21.25 17.5H19.2836C17.4934 17.5 15.8267 16.5878 14.8617 15.08L14.4126 14.3784Z" })] }));
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: "M17.5 4C14.2589 4 11.317 5.89436 9.9758 8.84493L9.11383 10.7413C7.93494 13.3348 5.34893 15 2.5 15C2.22386 15 2 15.2239 2 15.5C2 15.7761 2.22386 16 2.5 16C5.74107 16 8.68303 14.1056 10.0242 11.1551L10.8862 9.25873C12.0651 6.66516 14.6511 5 17.5 5C17.7761 5 18 4.77614 18 4.5C18 4.22386 17.7761 4 17.5 4Z" }), _jsx("path", { d: "M2.5 4C2.22386 4 2 4.22386 2 4.5C2 4.77614 2.22386 5 2.5 5C4.88065 5 7.07791 6.16279 8.42373 8.05858C8.58358 8.28375 8.8957 8.3367 9.12087 8.17685C9.34604 8.017 9.399 7.70488 9.23915 7.47971C7.7081 5.32301 5.20861 4 2.5 4Z" }), _jsx("path", { d: "M11.5763 11.9414C11.4164 11.7162 11.1043 11.6633 10.8791 11.8231C10.654 11.983 10.601 12.2951 10.7609 12.5203C12.2919 14.677 14.7914 16 17.5 16C17.7761 16 18 15.7761 18 15.5C18 15.2239 17.7761 15 17.5 15C15.1194 15 12.9221 13.8372 11.5763 11.9414Z" })] }));
}
};
IconCrossfade.iconName = "crossfade";
export default IconCrossfade;