adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
47 lines (46 loc) • 1.66 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgTaskDueSymbolic = (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: "M.969 2.5v11.969C.969 16 2.469 16 2.469 16h4.5v-2h-4V3h1V1h-1.5s-1.5 0-1.5 1.5zm10-1.5v2H12v4.031L13.97 7V2.5c0-1.5-1.5-1.5-1.5-1.5zM4.031 5.031V12H6.97V8.998S6.97 7 8.97 7h2V5zM5.5 0h3.969c.277 0 .5.223.5.5v3c0 .277-.223.5-.5.5H5.5a.499.499 0 01-.5-.5v-3c0-.277.223-.5.5-.5z",
fill: "#2e3436"
}), /* @__PURE__ */ React.createElement("path", {
className: "warning",
d: "M8.969 8c-1 0-1 1-1 1v6s0 1 1 1h6c1 0 1-1 1-1V9c0-1-1-1-1-1zm2 1h2v2.5s0 .5-.5.5h-1c-.5 0-.5-.5-.5-.5zm.5 4h1c.277 0 .5.223.5.5v1c0 .277-.223.5-.5.5h-1a.499.499 0 01-.5-.5v-1c0-.277.223-.5.5-.5z",
style: {
marker: "none"
},
color: "#bebebe",
overflow: "visible",
fill: "#f57900"
})));
return render(rest, ...restArgs);
};
const Memo = memo(SvgTaskDueSymbolic);
var task_due_symbolic_default = Memo;
export {
task_due_symbolic_default as default
};