UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

38 lines (37 loc) 1.14 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgUserAvailableSymbolic = (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 1A2.495 2.495 0 001 3.5v5C1 9.885 2.115 11 3.5 11h6.375L13 15v-4.063A2.486 2.486 0 0015 8.5v-5C15 2.115 13.885 1 12.5 1z", fill: "#474747" }))); return render(rest, ...restArgs); }; const Memo = memo(SvgUserAvailableSymbolic); var user_available_symbolic_default = Memo; export { user_available_symbolic_default as default };