adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
68 lines (67 loc) • 2.1 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgDocumentPageSetupSymbolic = (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: "M3 1a1 1 0 00-1 1v2a1 1 0 102 0V3h5.586L12 5.414V10a1 1 0 102 0V5a1 1 0 00-.293-.707l-3-3A1 1 0 0010 1zm0 13a1 1 0 100 2h10a1 1 0 100-2zM2 5.734V13h12.11zm2 3.532L6.89 11H4z",
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
},
color: "#000",
fontWeight: 400,
fontFamily: "sans-serif",
overflow: "visible",
fillRule: "evenodd"
}), /* @__PURE__ */ React.createElement("path", {
d: "M2 14h1v1H2zm11 0h1v1h-1z"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgDocumentPageSetupSymbolic);
var document_page_setup_symbolic_default = Memo;
export {
document_page_setup_symbolic_default as default
};