adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
59 lines (58 loc) • 1.8 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgXOfficeCalendarSymbolic = (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", {
color: "#000",
fill: "#474747"
}, /* @__PURE__ */ React.createElement("path", {
d: "M2.969 1.01c-1.053 0-2 .846-2 1.938v10.115c0 1.092.947 1.937 2 1.937H13c1.052 0 2-.845 2-1.937V2.948c0-1.092-.948-1.937-2-1.937zm0 3.99H5v2H2.969zM6 5h3v2H6zm4 0h3v2h-3zM2.969 8H5v2H2.969zM6 8h3v2H6zm4 0h3v2h-3zm-7.031 3H5v2H2.969zM6 11h3v2H6zm4 0h3v2h-3z",
style: {
lineHeight: "normal",
InkscapeFontSpecification: "Sans",
textIndent: 0,
textAlign: "start",
textDecorationLine: "none",
textTransform: "none",
marker: "none"
},
fontWeight: 400,
fontFamily: "Sans",
overflow: "visible"
}), /* @__PURE__ */ React.createElement("path", {
d: "M10 8h3v2h-3z",
style: {
marker: "none"
},
overflow: "visible",
opacity: 0.35
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgXOfficeCalendarSymbolic);
var x_office_calendar_symbolic_default = Memo;
export {
x_office_calendar_symbolic_default as default
};