adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
68 lines (67 loc) • 2.07 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgBatteryLevel50Symbolic = (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: "#2e3436"
}, /* @__PURE__ */ React.createElement("path", {
d: "M5.469.014c-.49 0-.796.214-1.032.455C4.202.709 4 1.025 4 1.498V2H2v14h12V2h-2v-.393l-.002-.027a1.622 1.622 0 00-.416-1.014c-.236-.279-.62-.584-1.2-.552zm.531 2h4V4h2v10H4V4h2z",
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,
marker: "none"
},
color: "#bebebe",
fontWeight: 400,
fontFamily: "sans-serif",
overflow: "visible"
}), /* @__PURE__ */ React.createElement("path", {
d: "M5 9v4h6V9z"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgBatteryLevel50Symbolic);
var battery_level_50_symbolic_default = Memo;
export {
battery_level_50_symbolic_default as default
};