UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

90 lines (89 loc) 2.78 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgEmojiSymbolsSymbolic = (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", { 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" }, d: "M5.207 1.294a1 1 0 00-1.414 0l-2.5 2.5a1 1 0 000 1.414l2.5 2.5a1 1 0 001.414 0l2.5-2.5a1 1 0 000-1.415z", color: "#000", fontWeight: 400, fontFamily: "sans-serif", overflow: "visible" }), /* @__PURE__ */ React.createElement("path", { d: "M10 12a3 3 0 01-3 3 3 3 0 01-3-3 3 3 0 013-3 3 3 0 013 3z" }), /* @__PURE__ */ React.createElement("path", { d: "M11.945 2.002a1 1 0 00-.81.496l-2.32 4A1 1 0 009.678 8h4.644a1 1 0 00.864-1.502l-2.32-4a1 1 0 00-.92-.496z", 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(SvgEmojiSymbolsSymbolic); var emoji_symbols_symbolic_default = Memo; export { emoji_symbols_symbolic_default as default };