UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

38 lines (37 loc) 1.27 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgFacePlainSymbolic = (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: "M8 1a7 7 0 100 14A7 7 0 008 1zM6 5c.558 0 1.031.473 1.031 1.031V7c0 .558-.473 1-1.031 1-.558 0-1-.442-1-1v-.969C5 5.473 5.442 5 6 5zm4 0c.558 0 1 .473 1 1.031V7c0 .558-.442 1-1 1s-1-.442-1-1v-.969C9 5.473 9.442 5 10 5zm-6.5 5h9a.499.499 0 110 1h-9a.499.499 0 110-1z", fill: "#474747" }))); return render(rest, ...restArgs); }; const Memo = memo(SvgFacePlainSymbolic); var face_plain_symbolic_default = Memo; export { face_plain_symbolic_default as default };