adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
42 lines (41 loc) • 1.29 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgPrinterPrintingSymbolic = (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: "M2 4c-.5 0-1 .5-1 1v4c0 .5.5 1 1 1h1V8h10v2h1c.5 0 1-.5 1-1V5c0-.5-.5-1-1-1zm2-3v2h8V1z",
fill: "#2e3436"
}), /* @__PURE__ */ React.createElement("path", {
className: "success",
d: "M4 9v5h8V9zm2.99.998l2.03.011-.01 1 2.003-.01L8.03 13 5 11l2.002.011z",
fill: "#33d17a"
})));
return render(rest, ...restArgs);
};
const Memo = memo(SvgPrinterPrintingSymbolic);
var printer_printing_symbolic_default = Memo;
export {
printer_printing_symbolic_default as default
};