adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
52 lines (51 loc) • 1.78 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgWeatherSevereAlertSymbolic = (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",
viewBox: "0 0 16 16",
...props
}, /* @__PURE__ */ React.createElement("path", {
d: "M9.5 2a2.49 2.49 0 00-2.469 2.219C6.704 4.097 6.37 4 6 4a3 3 0 00-3 3c0 .098.022.185.031.281A2.014 2.014 0 002 7a2 2 0 100 4h5V8.875C7 7.865 7.865 7 8.875 7h5.062a2.499 2.499 0 00-2-1.938A2.5 2.5 0 009.5 2z",
style: {
marker: "none"
},
color: "#000",
overflow: "visible",
fill: "#2e3436"
}), /* @__PURE__ */ React.createElement("path", {
className: "warning",
d: "M8.875 8A.863.863 0 008 8.875v6.25c0 .492.383.875.875.875h6.25a.863.863 0 00.875-.875v-6.25A.863.863 0 0015.125 8zM11 9h2v2.5s0 .5-.5.5h-1c-.5 0-.5-.5-.5-.5zm.5 4h1c.277 0 .5.223.5.5v1c0 .277-.223.5-.5.5h-1a.499.499 0 01-.5-.5v-1c0-.277.223-.5.5-.5z",
style: {
marker: "none"
},
color: "#bebebe",
overflow: "visible",
fill: "#f57900"
})));
return render(rest, ...restArgs);
};
const Memo = memo(SvgWeatherSevereAlertSymbolic);
var weather_severe_alert_symbolic_default = Memo;
export {
weather_severe_alert_symbolic_default as default
};