UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

78 lines (77 loc) 2.52 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgBatteryCautionSymbolic = (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", { className: "error", d: "M5 12v1h2v-1z", fill: "#c00" }), /* @__PURE__ */ React.createElement("path", { d: "M5.469.012c-.49 0-.796.215-1.032.455C4.202.707 4 1.023 4 1.497V2H2v14h5v-2H4V4h2V2.012h4V4h2v3h2V2h-2v-.395l-.002-.027a1.622 1.622 0 00-.416-1.014c-.236-.278-.62-.584-1.2-.552z", 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", fill: "#2e3436" }), /* @__PURE__ */ React.createElement("path", { className: "warning", d: "M8.875 8A.863.863 0 008 8.875v6.25c0 .492.383.875.875.875h6.25a.863.863 0 00.875-.875v-6.25A.863.863 0 0015.125 8zM11 9h2v2.5s0 .5-.5.5h-1c-.5 0-.5-.5-.5-.5zm.5 4h1c.277 0 .5.223.5.5v1c0 .277-.223.5-.5.5h-1a.499.499 0 01-.5-.5v-1c0-.277.223-.5.5-.5z", style: { marker: "none" }, color: "#bebebe", overflow: "visible", fill: "#f57900" }))); return render(rest, ...restArgs); }; const Memo = memo(SvgBatteryCautionSymbolic); var battery_caution_symbolic_default = Memo; export { battery_caution_symbolic_default as default };