adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
77 lines (76 loc) • 2.41 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgWeatherSnowSymbolic = (passedProps, ...restArgs) => {
const {
colored,
containerProps = {},
...rest
} = passedProps;
if (colored && typeof colored === "string") {
if (!containerProps.style) {
containerProps.style = {};
}
Object.assign(containerProps.style, {
"--custom-icon-color": colored
});
}
const render = (props) => /* @__PURE__ */ React.createElement("span", {
...containerProps,
className: cx("Icon", containerProps.className, {
colored
})
}, /* @__PURE__ */ React.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
xmlnsXlink: "http://www.w3.org/1999/xlink",
viewBox: "0 0 16 16",
...props
}, /* @__PURE__ */ React.createElement("g", {
transform: "translate(-332 -88)"
}, /* @__PURE__ */ React.createElement("path", {
id: "a",
d: "M339.492 88.492A.5.5 0 00339 89v1.533l-1.252-.717a.5.5 0 10-.496.868l1.748 1v8.683l-1.746.987a.5.5 0 10.492.87l1.254-.708V103a.5.5 0 101 0v-1.484l1.254.709a.5.5 0 10.492-.871l-1.746-.987v-8.683l1.748-1a.5.5 0 10-.496-.868l-1.252.717V89a.5.5 0 00-.508-.508z",
style: {
lineHeight: "normal",
fontVariantLigatures: "normal",
fontVariantPosition: "normal",
fontVariantCaps: "normal",
fontVariantNumeric: "normal",
fontVariantAlternates: "normal",
fontFeatureSettings: "normal",
textIndent: 0,
textAlign: "start",
textDecorationLine: "none",
textDecorationStyle: "solid",
textDecorationColor: "#000",
textTransform: "none",
textOrientation: "mixed",
shapePadding: 0,
isolation: "auto",
mixBlendMode: "normal",
marker: "none"
},
color: "#000",
fontWeight: 400,
fontFamily: "sans-serif",
overflow: "visible",
fill: "#2e3436",
strokeLinecap: "round"
}), /* @__PURE__ */ React.createElement("use", {
height: "100%",
xlinkHref: "#a",
transform: "rotate(-60 339.5 96)",
width: "100%"
}), /* @__PURE__ */ React.createElement("use", {
height: "100%",
xlinkHref: "#a",
transform: "rotate(-120 339.5 96)",
width: "100%"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgWeatherSnowSymbolic);
var weather_snow_symbolic_default = Memo;
export {
weather_snow_symbolic_default as default
};