adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
38 lines (37 loc) • 1.16 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgEmblemImportantSymbolic = (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 1a7 7 0 100 14A7 7 0 008 1zm-.094 1.969A1 1 0 019 4v5a1 1 0 11-2 0V4a1 1 0 01.781-1 1 1 0 01.125-.031zM8 11a1 1 0 110 2 1 1 0 010-2z",
fill: "#474747"
})));
return render(rest, ...restArgs);
};
const Memo = memo(SvgEmblemImportantSymbolic);
var emblem_important_symbolic_default = Memo;
export {
emblem_important_symbolic_default as default
};