adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
40 lines (39 loc) • 1.34 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgSoftwareUpdateUrgentSymbolic = (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", {
className: "warning",
d: "M8 .058L5.735 3.471 2.323 2.323 3.47 5.735.058 8l3.412 2.265-1.147 3.412 3.412-1.148L8 15.942l2.264-3.413 3.413 1.148-1.148-3.412L15.942 8l-3.413-2.265 1.148-3.412-3.413 1.148zM7 4h2v5H7zm1.03 5.737a1.272 1.272 0 110 2.544 1.272 1.272 0 010-2.544z",
fill: "#f57900",
fillRule: "evenodd"
})));
return render(rest, ...restArgs);
};
const Memo = memo(SvgSoftwareUpdateUrgentSymbolic);
var software_update_urgent_symbolic_default = Memo;
export {
software_update_urgent_symbolic_default as default
};