UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

69 lines (68 loc) 2.15 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgPackageXGenericSymbolic = (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: "M3 8h10v7.059c0 .492-.472.937-.996.937H4c-.539 0-1-.43-1-1z", style: { marker: "none" }, color: "#bebebe", overflow: "visible" }), /* @__PURE__ */ React.createElement("path", { d: "M6.794 2.97a1 1 0 00-.754.378L3.225 6.805a1 1 0 00-.224.633v1a1 1 0 102 0v-.645l2.592-3.181a1 1 0 00-.8-1.643zm2.213 3.003a1 1 0 00-.145 1.988l2.17.38v.16a1 1 0 102 0v-1a1 1 0 00-.828-.987l-2.998-.523a1 1 0 00-.2-.018z", 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" })))); return render(rest, ...restArgs); }; const Memo = memo(SvgPackageXGenericSymbolic); var package_x_generic_symbolic_default = Memo; export { package_x_generic_symbolic_default as default };