UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

55 lines (54 loc) 1.53 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgViewWrappedSymbolicRtl = (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", stroke: "#474747" }, /* @__PURE__ */ React.createElement("path", { d: "M6 6L4 8 2 6", fill: "none", strokeWidth: 2, strokeLinecap: "round" }), /* @__PURE__ */ React.createElement("path", { d: "M6 14h4c1.108 0 2-.892 2-2V4c0-1.108-.892-2-2-2H6c-1.108 0-2 .892-2 2v4", fill: "none", strokeWidth: 2 }), /* @__PURE__ */ React.createElement("path", { d: "M7 6V5H6v1zM2 6V5H1v1z", style: { marker: "none" }, color: "#000", overflow: "visible", stroke: "none" })))); return render(rest, ...restArgs); }; const Memo = memo(SvgViewWrappedSymbolicRtl); var view_wrapped_symbolic_rtl_default = Memo; export { view_wrapped_symbolic_rtl_default as default };