UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

41 lines (40 loc) 1.14 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgEmojiBodySymbolic = (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: "M1 7v8h11c.439 0 .875-.375 1-1l1-5.969V6c0-.535-.406-1-1-1H9.1l.9-3.5C10.225.66 9.566 0 9 0H8L3.959 7z", style: { marker: "none" }, fill: "#2e3436" }))); return render(rest, ...restArgs); }; const Memo = memo(SvgEmojiBodySymbolic); var emoji_body_symbolic_default = Memo; export { emoji_body_symbolic_default as default };