adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
38 lines (37 loc) • 1.66 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgDisplayProjectorSymbolic = (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.032 16",
...props
}, /* @__PURE__ */ React.createElement("path", {
d: "M11 2a4.001 4.001 0 00-3.764 2.654c-.11.414-.431.346-.431.346H1.029C0 5 0 6 0 6v5s0 1 1 1h1v.5c0 .277.223.5.5.5h2c.277 0 .5-.223.5-.5V12h6v.5c0 .277.223.5.5.5h2c.277 0 .5-.223.5-.5V12h1.002C16 12 16 11 16 11V6c0-1-.998-1-.998-1h.121s-.25.032-.353-.324A4 4 0 0011 2zm0 2a2 2 0 110 4 2 2 0 010-4zm-.744 1.332A1 1 0 0010 6a1 1 0 001 1 1 1 0 001-1 1 1 0 00-.256-.666A.75.75 0 0111 6a.75.75 0 01-.744-.668zM1.5 6A.5 2.5 0 012 8.5a.5 2.5 0 01-.5 2.5.5 2.5 0 01-.5-2.5.5 2.5 0 01.5-2.5zm2 0A.5 2.5 0 014 8.5a.5 2.5 0 01-.5 2.5.5 2.5 0 01-.5-2.5.5 2.5 0 01.5-2.5zm2 0c.276 0 .5 1.12.5 2.5S5.776 11 5.5 11 5 9.88 5 8.5 5.224 6 5.5 6z",
fill: "#2e3436"
})));
return render(rest, ...restArgs);
};
const Memo = memo(SvgDisplayProjectorSymbolic);
var display_projector_symbolic_default = Memo;
export {
display_projector_symbolic_default as default
};