adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
87 lines (86 loc) • 2.72 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgDocumentSaveAsSymbolic = (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: "M4 7.028v1c0 .265.093.53.281.718l3 3 .282.282h.875l.28-.282 3-3A1.01 1.01 0 0012 8.028v-1h-1c-.265 0-.53.093-.719.281L8 9.59 5.719 7.31A1.015 1.015 0 005 7.028z",
style: {
lineHeight: "normal",
InkscapeFontSpecification: "'Bitstream Vera Sans'",
textIndent: 0,
textAlign: "start",
textDecorationLine: "none",
textTransform: "none",
marker: "none"
},
color: "#000",
fontWeight: 400,
fontFamily: "Bitstream Vera Sans",
overflow: "visible"
}), /* @__PURE__ */ React.createElement("path", {
d: "M7 3.027v7h2v-7z",
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",
shapePadding: 0,
isolation: "auto",
mixBlendMode: "normal"
},
color: "#000",
fontWeight: 400,
fontFamily: "sans-serif",
overflow: "visible"
}), /* @__PURE__ */ React.createElement("path", {
d: "M2 13v2h12v-2z",
style: {
marker: "none"
},
color: "#000",
overflow: "visible",
fillRule: "evenodd"
}), /* @__PURE__ */ React.createElement("path", {
d: "M5.994 1a1 1 0 01-1 1 1 1 0 01-1-1 1 1 0 011-1 1 1 0 011 1zm3 0a1 1 0 01-1 1 1 1 0 01-1-1 1 1 0 011-1 1 1 0 011 1zm3 0a1 1 0 01-1 1 1 1 0 01-1-1 1 1 0 011-1 1 1 0 011 1z"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgDocumentSaveAsSymbolic);
var document_save_as_symbolic_default = Memo;
export {
document_save_as_symbolic_default as default
};