adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
79 lines (78 loc) • 2.61 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgDocumentPropertiesSymbolic = (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.003",
...props
}, /* @__PURE__ */ React.createElement("g", {
color: "#000",
fontWeight: 400,
fill: "#2e3436"
}, /* @__PURE__ */ React.createElement("path", {
d: "M9.01 7.848a3.264 3.264 0 00-.994-.003l.976 1.73c.2.354-.024.762-.45 1.008l-.77.445c-.431.24-.91.208-1.111-.148l-.976-1.729a3.22 3.22 0 00-.514.848c-.565 1.47.237 2.892 1.792 3.174.324.06.667.046.994.003.026-.004 1.518 2.765 1.518 2.765l3.505.062-2.667-4.13c.206-.256.37-.543.488-.85.566-1.47-.236-2.892-1.791-3.175z",
style: {
lineHeight: "normal",
InkscapeFontSpecification: "Sans",
textIndent: 0,
textAlign: "start",
textDecorationLine: "none",
textTransform: "none",
marker: "none"
},
fontFamily: "Sans",
overflow: "visible"
}), /* @__PURE__ */ React.createElement("path", {
d: "M3 1a1 1 0 00-1 1v13a1 1 0 001 1h4a1 1 0 100-2H4V3h5.586L12 5.414V12a1 1 0 102 0V5a1 1 0 00-.293-.707l-3-3A1 1 0 0010 1z",
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
},
fontFamily: "sans-serif",
overflow: "visible",
fillRule: "evenodd"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgDocumentPropertiesSymbolic);
var document_properties_symbolic_default = Memo;
export {
document_properties_symbolic_default as default
};