UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

78 lines (77 loc) 2.35 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgEditUndoSymbolic = (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: "M4 6v2h6.5c.84 0 1.5.66 1.5 1.5s-.66 1.5-1.5 1.5H10v2h.5c1.921 0 3.5-1.579 3.5-3.5S12.421 6 10.5 6z", style: { lineHeight: "normal", fontVariantLigatures: "normal", fontVariantPosition: "normal", fontVariantCaps: "normal", fontVariantNumeric: "normal", fontVariantAlternates: "normal", fontFeatureSettings: "normal", textIndent: 0, textAlign: "start", textDecorationLine: "none", textDecorationStyle: "solid", textDecorationColor: "#000", textTransform: "none", textOrientation: "mixed", shapePadding: 0, isolation: "auto", mixBlendMode: "normal", marker: "none" }, color: "#000", fontWeight: 400, fontFamily: "sans-serif", overflow: "visible", fill: "#474747" }), /* @__PURE__ */ React.createElement("path", { d: "M7 3.022v1c0 .257-.13.529-.313.719l-2.28 2.281 2.28 2.281c.183.19.313.462.313.72v1H6c-.31 0-.552-.091-.75-.282L1.594 7.022 5.25 3.303c.198-.19.44-.28.75-.28z", 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", fill: "#474747" }))); return render(rest, ...restArgs); }; const Memo = memo(SvgEditUndoSymbolic); var edit_undo_symbolic_default = Memo; export { edit_undo_symbolic_default as default };