adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
45 lines (44 loc) • 1.37 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgMarkLocationSymbolic = (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.003",
...props
}, /* @__PURE__ */ React.createElement("path", {
d: "M8 0a5 5 0 00-5 5c0 .173.014.332.031.5.014.167.036.336.063.5C3.666 9.514 6 12.003 8 14.003c2-2 4.334-4.489 4.906-8.003.027-.164.05-.333.063-.5.017-.168.031-.327.031-.5a5 5 0 00-5-5zm0 3a2 2 0 110 4 2 2 0 010-4z",
style: {
isolation: "auto",
mixBlendMode: "normal",
marker: "none"
},
color: "#000",
overflow: "visible",
fill: "#474747"
})));
return render(rest, ...restArgs);
};
const Memo = memo(SvgMarkLocationSymbolic);
var mark_location_symbolic_default = Memo;
export {
mark_location_symbolic_default as default
};