adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
80 lines (79 loc) • 2.92 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgBatteryMissingSymbolic = (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", {
fontWeight: 400,
fill: "#2e3436"
}, /* @__PURE__ */ React.createElement("path", {
d: "M5.469 0c-.492 0-.796.228-1.032.469C4.202.709 4 1.028 4 1.5V2H2v14h12V2h-2v-.438a1.58 1.58 0 00-.406-1 1.523 1.523 0 00-1.156-.53V0h-.063zM6 2h4v1.531c.23.132.426.296.625.469H12v10H9.719a1.967 1.967 0 01-.719.719c-.12.07-.241.142-.375.187-.031.01-.062.023-.094.031a2.03 2.03 0 01-.125.032c-.13.027-.27.031-.406.031-.181 0-.364-.016-.531-.063-.032-.008-.063-.02-.094-.03-.132-.045-.256-.119-.375-.188A1.967 1.967 0 016.281 14H4V4h1.313c.209-.184.442-.331.687-.469V3z",
style: {
lineHeight: "normal",
InkscapeFontSpecification: "Sans",
textIndent: 0,
textAlign: "start",
textDecorationLine: "none",
textTransform: "none",
marker: "none"
},
color: "#bebebe",
fontFamily: "Sans",
overflow: "visible",
opacity: 0.35
}), /* @__PURE__ */ React.createElement("path", {
d: "M8.152 4.006A2.992 2.992 0 005 7h2c0-.407.24-.768.617-.924a.994.994 0 011.09.217.994.994 0 01.217 1.09A.994.994 0 018 8a1 1 0 00-1 1v2h2V9.82a2.998 2.998 0 001.771-1.672 3.006 3.006 0 00-.65-3.27 3.001 3.001 0 00-1.969-.872zM8 12a1 1 0 00-1 1 1 1 0 001 1 1 1 0 001-1 1 1 0 00-1-1z",
style: {
lineHeight: "normal",
fontVariantLigatures: "normal",
fontVariantPosition: "normal",
fontVariantCaps: "normal",
fontVariantNumeric: "normal",
fontVariantAlternates: "normal",
fontFeatureSettings: "normal",
textIndent: 0,
textAlign: "start",
textDecorationLine: "none",
textDecorationStyle: "solid",
textDecorationColor: "#000",
textTransform: "none",
textOrientation: "mixed",
whiteSpace: "normal",
shapePadding: 0,
isolation: "auto",
mixBlendMode: "normal",
solidColor: "#000",
solidOpacity: 1
},
color: "#000",
fontFamily: "sans-serif",
overflow: "visible"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgBatteryMissingSymbolic);
var battery_missing_symbolic_default = Memo;
export {
battery_missing_symbolic_default as default
};