adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
43 lines (42 loc) • 1.21 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgAvatarDefaultSymbolic = (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 1a3 3 0 100 6 3 3 0 000-6zM6.5 8A4.49 4.49 0 002 12.5V14c0 1 1 1 1 1h10s1 0 1-1v-1.5A4.49 4.49 0 009.5 8z",
style: {
marker: "none"
},
color: "#bebebe",
overflow: "visible",
fill: "#2e3436"
})));
return render(rest, ...restArgs);
};
const Memo = memo(SvgAvatarDefaultSymbolic);
var avatar_default_symbolic_default = Memo;
export {
avatar_default_symbolic_default as default
};