adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
52 lines (51 loc) • 1.76 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgChannelInsecureSymbolic = (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("g", {
color: "#bebebe"
}, /* @__PURE__ */ React.createElement("path", {
d: "M5 0C3.355 0 2 1.355 2 3v3h2V3c0-.571.429-1 1-1h2c.571 0 1 .429 1 1v.25c.267-.15.557-.25.875-.25H10c0-1.645-1.355-3-3-3zM2 9s-1 0-1 1v5h10v-2H8.875C7.865 13 7 12.135 7 11.125V9z",
style: {
marker: "none"
},
overflow: "visible",
fill: "#2e3436"
}), /* @__PURE__ */ React.createElement("path", {
className: "warning",
d: "M8.875 4A.863.863 0 008 4.875v6.25c0 .492.383.875.875.875h6.25a.863.863 0 00.875-.875v-6.25A.863.863 0 0015.125 4zM11 5h2v2.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"
},
overflow: "visible",
fill: "#f57900"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgChannelInsecureSymbolic);
var channel_insecure_symbolic_default = Memo;
export {
channel_insecure_symbolic_default as default
};