UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

54 lines (53 loc) 2.04 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgDocumentPrintPreviewSymbolic = (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: "M4 1v2h8V1zM2 4c-.5 0-1 .5-1 1v4c0 .5.5 1 1 1h1V8h5.125a3.66 3.66 0 012.531-1.031 3.707 3.707 0 013.625 2.968c.393-.137.72-.53.72-.937V5c0-.5-.5-1-1-1zm2 5v5h5.094a3.709 3.709 0 01-2.125-3.344c0-.595.152-1.156.406-1.656z" }), /* @__PURE__ */ React.createElement("path", { d: "M10.656 7.938a2.726 2.726 0 00-2.718 2.718 2.726 2.726 0 002.718 2.719c.488 0 .948-.148 1.344-.375a.75.75 0 00.156.219L14 15.03a.751.751 0 101.063-1.062l-1.844-1.813A.75.75 0 0013 12c.227-.396.375-.857.375-1.344a2.726 2.726 0 00-2.719-2.719zm0 1c.956 0 1.72.763 1.72 1.718s-.764 1.719-1.72 1.719a1.711 1.711 0 01-1.718-1.719c0-.955.763-1.719 1.718-1.719z", style: { lineHeight: "normal", InkscapeFontSpecification: "Sans", textIndent: 0, textAlign: "start", textDecorationLine: "none", textTransform: "none", marker: "none" }, color: "#000", fontWeight: 400, fontFamily: "Sans", overflow: "visible" })))); return render(rest, ...restArgs); }; const Memo = memo(SvgDocumentPrintPreviewSymbolic); var document_print_preview_symbolic_default = Memo; export { document_print_preview_symbolic_default as default };