adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
44 lines (43 loc) • 1.45 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgNotificationsDisabledSymbolic = (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", {
fill: "#2e3436"
}, /* @__PURE__ */ React.createElement("path", {
d: "M7.97 1.975c-1.724 0-2.78.923-3.482 2.513l8.486 8.487h.996v-1c-.552 0-.891-.459-1-1l-1-5c-.53-2.5-1.79-4-4-4zm-4.078 4.39l-.922 4.61c-.108.541-.447 1-1 1v1h8.532zm4.254 7.61a1.5 1.5 0 001.412 1 1.5 1.5 0 001.412-1z",
style: {
marker: "none"
}
}), /* @__PURE__ */ React.createElement("path", {
d: "M1.53.469L.47 1.53l14 14 1.062-1.062z"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgNotificationsDisabledSymbolic);
var notifications_disabled_symbolic_default = Memo;
export {
notifications_disabled_symbolic_default as default
};