adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
59 lines (58 loc) • 1.74 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgDocumentSaveSymbolic = (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", {
color: "#000",
fill: "#2e3436"
}, /* @__PURE__ */ React.createElement("path", {
d: "M7 1v7.563L5.719 7.28A1.015 1.015 0 005 7H4v1c0 .265.093.53.281.719l3 3 .282.281h.875l.28-.281 3-3A1.01 1.01 0 0012 8V7h-1c-.265 0-.53.093-.719.281L9 8.563V1z",
style: {
lineHeight: "normal",
InkscapeFontSpecification: "'Bitstream Vera Sans'",
textIndent: 0,
textAlign: "start",
textDecorationLine: "none",
textTransform: "none",
marker: "none"
},
fontWeight: 400,
fontFamily: "Bitstream Vera Sans",
overflow: "visible"
}), /* @__PURE__ */ React.createElement("path", {
d: "M1.994 13L2 15h12l-.006-2z",
style: {
marker: "none"
},
overflow: "visible",
fillRule: "evenodd"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgDocumentSaveSymbolic);
var document_save_symbolic_default = Memo;
export {
document_save_symbolic_default as default
};