UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

61 lines (60 loc) 1.99 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgNetworkErrorSymbolic = (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", { d: "M10 1v1c0 .257.13.529.313.719L11.593 4H7c-.528-.007-1 .472-1 1s.472 1.007 1 1h4.625l-1.219 1.281c-.182.19-.406.462-.406.719v.426c.62-.377 1.909-.507 2.48-.395L15.406 5 11.75 1.281C11.552 1.091 11.31 1 11 1zM5 7c-.31 0-.615.09-.812.281L.594 11l3.656 3.719c.198.19.44.281.75.281h1v-1c0-.257-.13-.529-.312-.719L4.406 12h3.625c.022-.277.113-1 .723-2H4.375l1.219-1.281C5.776 8.529 6 8.257 6 8V7z", style: { lineHeight: "normal", InkscapeFontSpecification: "Sans", textIndent: 0, textAlign: "start", textDecorationLine: "none", textTransform: "none", marker: "none" }, color: "#000", fontWeight: 400, fontFamily: "Sans", overflow: "visible", opacity: 0.35, fill: "#474747" }), /* @__PURE__ */ React.createElement("path", { className: "error", d: "M12.5 9a3.5 3.5 0 100 7 3.5 3.5 0 000-7zM10 11.969h5V13h-5z", style: { marker: "none" }, color: "#bebebe", overflow: "visible", fill: "#ef2929" }))); return render(rest, ...restArgs); }; const Memo = memo(SvgNetworkErrorSymbolic); var network_error_symbolic_default = Memo; export { network_error_symbolic_default as default };