adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
43 lines (42 loc) • 1.29 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgHelpAboutSymbolic = (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 15c-.72 0-1.83-4.151-2.34-4.66C5.151 9.83 1 8.72 1 8c0-.72 4.151-1.83 4.66-2.34C6.17 5.151 7.28 1 8 1c.72 0 1.83 4.151 2.34 4.66C10.849 6.17 15 7.28 15 8c0 .72-4.151 1.83-4.66 2.34C9.83 10.849 8.72 15 8 15z",
style: {
marker: "none"
},
color: "#000",
overflow: "visible",
fill: "#474747"
})));
return render(rest, ...restArgs);
};
const Memo = memo(SvgHelpAboutSymbolic);
var help_about_symbolic_default = Memo;
export {
help_about_symbolic_default as default
};