@elgato/icons
Version:
Icons used throughout the Elgato ecosystem.
15 lines (14 loc) • 2.27 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { sizeMap } from "../../metadata/sizing.js";
const IconNight = (props) => {
const size = sizeMap[props?.size ?? "m"];
const label = props?.label ?? "Icon";
switch (props?.size) {
case "l":
return (_jsx("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", { fillRule: "evenodd", clipRule: "evenodd", d: "M19.2364 12.5693C20.0124 12.2574 21.01 12.7213 20.8671 13.5453C20.5611 15.3101 19.7268 17.0012 18.364 18.364C14.8492 21.8787 9.15076 21.8787 5.63604 18.364C2.12132 14.8493 2.12132 9.15077 5.63604 5.63606C6.99881 4.27329 8.68987 3.43891 10.4546 3.13292C11.2786 2.99005 11.7425 3.98766 11.4306 4.7636C11.1529 5.45472 11 6.20948 11 6.99995C11 10.3137 13.6863 13 17 13C17.7905 13 18.5453 12.8471 19.2364 12.5693ZM19.1786 14.1782C18.4878 14.3877 17.7559 14.5 17 14.5C12.8579 14.5 9.5 11.1421 9.5 6.99995C9.5 6.24407 9.61228 5.51224 9.82171 4.82145C8.67854 5.16701 7.60199 5.79142 6.6967 6.69672C3.76777 9.62565 3.76777 14.3744 6.6967 17.3033C9.62563 20.2323 14.3744 20.2323 17.3033 17.3033C18.2086 16.398 18.833 15.3214 19.1786 14.1782Z" }) }));
default:
return (_jsx("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: "M8.91797 3.08311C9.23318 3.03421 9.55276 3.1388 9.77832 3.36436C10.0039 3.58992 10.1085 3.9095 10.0596 4.22471C10.0205 4.47645 10 4.73551 10 5.0001C10 7.76153 12.2386 10.0001 15 10.0001C15.262 10.0001 15.5205 9.97897 15.7744 9.93955C16.0896 9.89065 16.4092 9.99524 16.6348 10.2208C16.8603 10.4464 16.9649 10.7659 16.916 11.0812C16.3955 14.4337 13.499 17.0001 10 17.0001C6.13401 17.0001 3 13.8661 3 10.0001C3 6.50172 5.56557 3.60401 8.91797 3.08311ZM4 10.0001C4 13.3138 6.68629 16.0001 10 16.0001C12.9981 16.0001 15.4817 13.801 15.9277 10.9278C15.6253 10.9748 15.3156 11.0001 15 11.0001C11.6863 11.0001 9 8.31381 9 5.0001C9 4.68424 9.02426 4.37406 9.07129 4.07139C6.19857 4.51776 4 7.00225 4 10.0001Z" }) }));
}
};
IconNight.iconName = "night";
export default IconNight;