adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
43 lines (42 loc) • 1.3 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgScreenSharedSymbolic = (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: "M4 1C2.338 1 1 2.338 1 4v6c0 1.662 1.338 3 3 3h8c1.662 0 3-1.338 3-3V4c0-1.662-1.338-3-3-3zm4 2l4 4-4 4V8c-2.875-.125-4 3-4 3 0-2.344.969-5 4-5zm0 11c-5 0-5 1-5 1 0 1 1 1 1 1h8c1 0 1-1 1-1s0-1-5-1z",
style: {
marker: "none"
},
overflow: "visible",
color: "#bebebe",
fill: "#474747"
})));
return render(rest, ...restArgs);
};
const Memo = memo(SvgScreenSharedSymbolic);
var screen_shared_symbolic_default = Memo;
export {
screen_shared_symbolic_default as default
};