adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
46 lines (45 loc) • 1.52 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgPrinterNetworkSymbolic = (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: "M6 11.953V14H.469a.464.464 0 00-.469.469v1.062c0 .263.206.469.469.469H13.53a.464.464 0 00.469-.469V14.47a.464.464 0 00-.469-.469H8v-2.047z"
}), /* @__PURE__ */ React.createElement("path", {
d: "M4.008 2.273v5.723H10v-4.05L8 2.007H4.273c-.172 0-.265.094-.265.265zM2.984 8.01C2.422 8.01 2 8.36 2 9v2.969h9.969V9c0-.641-.406-.988-.953-.988l-.002.978-8.03.035z",
style: {
marker: "none"
},
color: "#000",
overflow: "visible"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgPrinterNetworkSymbolic);
var printer_network_symbolic_default = Memo;
export {
printer_network_symbolic_default as default
};