adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
76 lines (75 loc) • 2.2 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgFocusWindowsSymbolic = (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",
fontWeight: 400,
fontFamily: "sans-serif",
fill: "#2e3436"
}, /* @__PURE__ */ React.createElement("path", {
d: "M2.035 7.008c-.531 0-1.031.421-1.031 1v7.012h8.012v-3.985h-2v1.985H3.004v-2.997H5.02V7.008z",
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"
},
overflow: "visible"
}), /* @__PURE__ */ React.createElement("path", {
d: "M8.02 1.008c-.532 0-1.032.421-1.032 1V9.02H15V1.977c0-.579-.521-.97-1.021-.97zm.968 3.015H13V7.02H8.988z",
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"
},
overflow: "visible"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgFocusWindowsSymbolic);
var focus_windows_symbolic_default = Memo;
export {
focus_windows_symbolic_default as default
};