adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
90 lines (89 loc) • 2.96 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgEmblemDocumentsSymbolic = (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: "#474747"
}, /* @__PURE__ */ React.createElement("path", {
d: "M12 3v2h1v9H6v2h7s.459.014.947-.23C14.436 15.525 15 14.833 15 14V5s.014-.459-.23-.947C14.525 3.564 13.834 3 13 3z",
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",
fillRule: "evenodd"
}), /* @__PURE__ */ React.createElement("path", {
d: "M4 14a2 2 0 002 2v-2zM3.5 3h4a.499.499 0 110 1h-4a.499.499 0 110-1zm0 4h4a.499.499 0 110 1h-4a.499.499 0 110-1zm0-2h3a.499.499 0 110 1h-3a.499.499 0 110-1zm0 4h3a.499.499 0 110 1h-3a.499.499 0 110-1z"
}), /* @__PURE__ */ React.createElement("path", {
d: "M1.5 0C.686 0 0 .686 0 1.5v10c0 .814.686 1.5 1.5 1.5h8c.814 0 1.5-.686 1.5-1.5v-10C11 .686 10.314 0 9.5 0zM2 2h7v9H2z",
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"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgEmblemDocumentsSymbolic);
var emblem_documents_symbolic_default = Memo;
export {
emblem_documents_symbolic_default as default
};