adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
60 lines (59 loc) • 1.72 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgWindowNewSymbolic = (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: "M2.994 1.008C1.994 1.008.988 2 .988 3v12.02h7.006v-2H2.988V5H13v3h2V3c0-1-1.006-1.992-2.006-1.992z",
style: {
lineHeight: "normal",
textIndent: 0,
textAlign: "start",
textDecorationLine: "none",
textDecorationStyle: "solid",
textDecorationColor: "#000",
textTransform: "none",
whiteSpace: "normal",
isolation: "auto",
mixBlendMode: "normal",
solidColor: "#000",
solidOpacity: 1,
marker: "none"
},
color: "#000",
fontWeight: 400,
fontFamily: "sans-serif",
overflow: "visible"
}), /* @__PURE__ */ React.createElement("path", {
d: "M12 10v2h-2v2h2v2h2v-2h2v-2h-2v-2z"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgWindowNewSymbolic);
var window_new_symbolic_default = Memo;
export {
window_new_symbolic_default as default
};