UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

75 lines (74 loc) 2.17 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgInsertImageSymbolic = (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: "M2 0v9h12V0zm2 2h8v5H4z", style: { lineHeight: "normal", InkscapeFontSpecification: "Sans", textIndent: 0, textAlign: "start", textDecorationLine: "none", textTransform: "none", marker: "none" }, color: "#000", fontWeight: 400, fontFamily: "Sans", overflow: "visible" }), /* @__PURE__ */ React.createElement("path", { d: "M5 5c2.32 1 3.045-1.66 6 0v1H5z", style: { marker: "none" }, color: "#000", overflow: "visible", opacity: 0.35 }), /* @__PURE__ */ React.createElement("path", { d: "M11.003 11.039h-1c-.258 0-.53.13-.72.313L8 12.634l-1.283-1.282c-.19-.183-.462-.313-.72-.313h-1v1.001c0 .31.09.553.281.75L8 15.45l2.722-2.66c.191-.197.281-.44.281-.75v-1.001z", style: { lineHeight: "normal", InkscapeFontSpecification: "'Bitstream Vera Sans'", textIndent: 0, textAlign: "start", textDecorationLine: "none", textTransform: "none", marker: "none" }, color: "#bebebe", fontWeight: 400, fontFamily: "Bitstream Vera Sans", overflow: "visible" })))); return render(rest, ...restArgs); }; const Memo = memo(SvgInsertImageSymbolic); var insert_image_symbolic_default = Memo; export { insert_image_symbolic_default as default };