UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

51 lines (50 loc) 1.51 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgDocumentEditSymbolic = (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: "#2e3436", fillRule: "evenodd" }, /* @__PURE__ */ React.createElement("path", { d: "M2.01 11.014l6.518-6.572 3 3-6.518 6.572h-3z" }), /* @__PURE__ */ React.createElement("path", { d: "M11.637 1.676c-.2 0-.4.077-.554.23l-1.77 1.768 3.053 3.053 1.77-1.77a.783.783 0 000-1.109l-1.944-1.941a.782.782 0 00-.555-.23z", style: { isolation: "auto", mixBlendMode: "normal", solidColor: "#000", solidOpacity: 1, marker: "none" }, color: "#000", overflow: "visible" })))); return render(rest, ...restArgs); }; const Memo = memo(SvgDocumentEditSymbolic); var document_edit_symbolic_default = Memo; export { document_edit_symbolic_default as default };