adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
69 lines (68 loc) • 2.28 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgEmblemSharedSymbolic = (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("g", {
color: "#000",
fill: "#474747"
}, /* @__PURE__ */ React.createElement("path", {
d: "M5.969 7.969A2.969 2.969 0 013 10.937 2.969 2.969 0 01.031 7.97 2.969 2.969 0 013.001 5a2.969 2.969 0 012.968 2.969zm9.969 5a2.969 2.969 0 01-2.97 2.969A2.969 2.969 0 0110 12.967 2.969 2.969 0 0112.969 10a2.969 2.969 0 012.969 2.969zm0-10a2.969 2.969 0 01-2.97 2.969A2.969 2.969 0 0110 2.967 2.969 2.969 0 0112.969 0a2.969 2.969 0 012.969 2.969z",
style: {
marker: "none"
},
overflow: "visible"
}), /* @__PURE__ */ React.createElement("path", {
d: "M12.614 2.146L.747 7.924l11.855 5.969.899-1.788-8.248-4.15 8.236-4.012z",
style: {
lineHeight: "normal",
fontVariantLigatures: "normal",
fontVariantPosition: "normal",
fontVariantCaps: "normal",
fontVariantNumeric: "normal",
fontVariantAlternates: "normal",
fontFeatureSettings: "normal",
textIndent: 0,
textAlign: "start",
textDecorationLine: "none",
textDecorationStyle: "solid",
textDecorationColor: "#000",
textTransform: "none",
textOrientation: "mixed",
shapePadding: 0,
isolation: "auto",
mixBlendMode: "normal",
marker: "none"
},
fontWeight: 400,
fontFamily: "sans-serif",
overflow: "visible"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgEmblemSharedSymbolic);
var emblem_shared_symbolic_default = Memo;
export {
emblem_shared_symbolic_default as default
};