adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
55 lines (54 loc) • 1.74 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgGnomePowerManagerSymbolic = (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: "#474747"
}, /* @__PURE__ */ React.createElement("path", {
d: "M3.469 0c-.49 0-.796.229-1.032.47C2.202.71 2 1.03 2 1.503V2H0v14h7v-2l-4.95.05L2 4h2V2h3v2h2v1h2V2H9v-.403A1.669 1.669 0 008.594.564 1.528 1.528 0 007.437.03V0H3.47z",
style: {
lineHeight: "normal",
InkscapeFontSpecification: "Sans",
textIndent: 0,
textAlign: "start",
textDecorationLine: "none",
textTransform: "none",
marker: "none"
},
color: "#bebebe",
fontWeight: 400,
fontFamily: "Sans",
overflow: "visible"
}), /* @__PURE__ */ React.createElement("path", {
d: "M6 10h2c.276-1.103 1.065-3.724 3-4h3v2h2v2h-2v2h2v2h-2v2h-3c-1.935-.276-2.724-2.897-3-4H6z",
fillRule: "evenodd"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgGnomePowerManagerSymbolic);
var gnome_power_manager_symbolic_default = Memo;
export {
gnome_power_manager_symbolic_default as default
};