adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
46 lines (45 loc) • 1.66 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgModemSymbolic = (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", {
fill: "#474747"
}, /* @__PURE__ */ React.createElement("path", {
d: "M11.105 10c-.781.648-1.68 1.518-3.065 2.01L1 12v3h14v-3l-2-2zm-.605 1.797a.7.7 0 01.703.703c0 .39-.314.703-.703.703a.702.702 0 01-.703-.703.7.7 0 01.703-.703zm2 .023a.679.679 0 110 1.36.678.678 0 01-.68-.68c0-.377.303-.68.68-.68z",
style: {
marker: "none"
},
color: "#000",
overflow: "visible"
}), /* @__PURE__ */ React.createElement("path", {
d: "M11.446 3.054c.328 0 .595.263.595.595v.039a7.37 7.37 0 01-7.37 7.35h-.019a.6.6 0 01-.595-.614V8.582c0-.34.274-.614.614-.614H5.9c.34 0 .614.274.614.614v.288a5.507 5.507 0 003.358-3.36h-.287a.613.613 0 01-.615-.614V3.669c0-.34.274-.615.615-.615h1.862z"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgModemSymbolic);
var modem_symbolic_default = Memo;
export {
modem_symbolic_default as default
};