@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 3.52 kB
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconTimeHistory = (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: "M15.5355 5.3856C14.0052 4.56765 12.2386 4.30561 10.5368 4.64412C8.835 4.98264 7.3032 5.90076 6.20242 7.24206C5.22552 8.43242 4.64174 9.89069 4.52271 11.4166L5.71967 10.2197C6.01256 9.92679 6.48744 9.92679 6.78033 10.2197C7.07322 10.5126 7.07322 10.9875 6.78033 11.2803L4.28033 13.7803C3.98744 14.0732 3.51256 14.0732 3.21967 13.7803L0.71967 11.2803C0.426777 10.9875 0.426777 10.5126 0.71967 10.2197C1.01256 9.92679 1.48744 9.92679 1.78033 10.2197L3.01646 11.4558C3.13076 9.56826 3.83741 7.75937 5.04291 6.29047C6.36384 4.68091 8.202 3.57916 10.2442 3.17295C12.2864 2.76673 14.4062 3.08118 16.2426 4.06272C18.0789 5.04426 19.5181 6.63216 20.3149 8.55586C21.1117 10.4796 21.2169 12.62 20.6125 14.6126C20.008 16.6051 18.7314 18.3264 17.0001 19.4832C15.2688 20.64 13.19 21.1608 11.1178 20.9567C9.04567 20.7526 7.10837 19.8363 5.63604 18.364C5.34315 18.0711 5.34315 17.5962 5.63604 17.3033C5.92893 17.0104 6.40381 17.0104 6.6967 17.3033C7.92365 18.5303 9.53806 19.2938 11.2649 19.4639C12.9917 19.634 14.724 19.2 16.1668 18.236C17.6095 17.272 18.6734 15.8376 19.177 14.1771C19.6807 12.5167 19.5931 10.733 18.9291 9.12989C18.2651 7.52681 17.0658 6.20356 15.5355 5.3856Z" }), _jsx("path", { d: "M12 6.00001C12.4142 6.00001 12.75 6.3358 12.75 6.75001V11.6894L14.7803 13.7197C15.0732 14.0126 15.0732 14.4875 14.7803 14.7803C14.4874 15.0732 14.0126 15.0732 13.7197 14.7803L11.4697 12.5303C11.329 12.3897 11.25 12.1989 11.25 12V6.75001C11.25 6.3358 11.5858 6.00001 12 6.00001Z" })] }));
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: "M3.5 3C3.77614 3 4 3.22386 4 3.5V6.39445C4.85231 4.97608 6.18049 3.90424 7.74992 3.37149C9.35806 2.8256 11.1098 2.88295 12.6788 3.53284C14.2478 4.18274 15.527 5.38086 16.2781 6.90398C17.0292 8.4271 17.201 10.1713 16.7615 11.8117C16.3219 13.4521 15.301 14.8768 13.889 15.8203C12.4769 16.7638 10.77 17.1618 9.08632 16.9401C7.40259 16.7184 5.85686 15.8922 4.73712 14.6154C3.61738 13.3386 3 11.6983 3 10C3 9.72386 3.22386 9.5 3.5 9.5C3.77614 9.5 4 9.72386 4 10C4 11.4557 4.52918 12.8617 5.48896 13.9561C6.44874 15.0505 7.77365 15.7587 9.21684 15.9487C10.66 16.1387 12.1231 15.7975 13.3334 14.9888C14.5437 14.1801 15.4188 12.959 15.7956 11.5529C16.1723 10.1469 16.0251 8.6518 15.3812 7.34627C14.7374 6.04074 13.6409 5.01378 12.2961 4.45672C10.9513 3.89967 9.44976 3.85052 8.07136 4.31842C6.69296 4.78632 5.53167 5.73937 4.80385 7H7.5C7.77614 7 8 7.22386 8 7.5C8 7.77614 7.77614 8 7.5 8H3.5C3.22386 8 3 7.77614 3 7.5V3.5C3 3.22386 3.22386 3 3.5 3Z" }), _jsx("path", { d: "M10.5 6.5C10.5 6.22386 10.2761 6 10 6C9.72386 6 9.5 6.22386 9.5 6.5V10C9.5 10.1326 9.55268 10.2598 9.64645 10.3536L12.1464 12.8536C12.3417 13.0488 12.6583 13.0488 12.8536 12.8536C13.0488 12.6583 13.0488 12.3417 12.8536 12.1464L10.5 9.79289V6.5Z" })] }));
}
};
IconTimeHistory.iconName = "time-history";
export default IconTimeHistory;