UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

62 lines (61 loc) 2.22 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgFontXGenericSymbolic = (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: "M3 5.01v2h1.92c-.055 0 .083.162.083.084v.922H4c-1.716 0-3.032 1.128-3.057 2.487-.012.679.306 1.36.861 1.82.556.46 1.318.7 2.196.7h3.002v-5.93c0-1.17-.886-2.084-2.082-2.084zm1 5.006h1.003v1.006H4c-.52 0-.794-.136-.92-.24-.126-.104-.138-.172-.137-.244.003-.144.087-.522 1.057-.522zM7.997 4v9.022H11c.938 0 1.767-.37 2.297-.957.53-.586.767-1.337.757-2.066a3.084 3.084 0 00-.79-2.045C12.737 7.377 11.921 7 11 7H9.997V4zm2 5H11c.422 0 .625.126.787.303.161.177.264.445.267.721.004.276-.088.531-.24.7-.151.167-.355.298-.814.298H9.997z", 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" }, overflow: "visible", color: "#000", fontWeight: 400, fontFamily: "sans-serif", fill: "#474747" }))); return render(rest, ...restArgs); }; const Memo = memo(SvgFontXGenericSymbolic); var font_x_generic_symbolic_default = Memo; export { font_x_generic_symbolic_default as default };