UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

71 lines (70 loc) 2.14 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgViewPinSymbolic = (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" }, /* @__PURE__ */ React.createElement("path", { d: "M14.994 16h1v-1l-7-7-1 1z", fillRule: "evenodd" }), /* @__PURE__ */ React.createElement("path", { d: "M6.994.586l-.707.707-5 5L.58 7l1.414 1.414.707-.707 5-5L8.408 2z", 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" }, color: "#000", fontWeight: 400, fontFamily: "sans-serif", overflow: "visible", fillRule: "evenodd" }), /* @__PURE__ */ React.createElement("path", { d: "M6.752 15.243a6 6 0 010-8.486 6 6 0 018.485 0L10.994 11z" }), /* @__PURE__ */ React.createElement("path", { d: "M1.922 6.995l5.7 4.433 3.8-3.8L6.994 2z", fillRule: "evenodd" })))); return render(rest, ...restArgs); }; const Memo = memo(SvgViewPinSymbolic); var view_pin_symbolic_default = Memo; export { view_pin_symbolic_default as default };