adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
43 lines (42 loc) • 1.23 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgChannelSecureSymbolic = (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: "M7 2C5.355 2 4 3.355 4 5v2S3 7 3 8v5h10V8s0-1-1-1V5c0-1.645-1.355-3-3-3zm0 2h2c.571 0 1 .429 1 1v2H6V5c0-.571.429-1 1-1z",
style: {
marker: "none"
},
color: "#bebebe",
overflow: "visible",
fill: "#474747"
})));
return render(rest, ...restArgs);
};
const Memo = memo(SvgChannelSecureSymbolic);
var channel_secure_symbolic_default = Memo;
export {
channel_secure_symbolic_default as default
};