adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
106 lines (105 loc) • 3.31 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgDocumentRevertSymbolicRtl = (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: "M3 1a1 1 0 00-1 1v5h2V3h5.586L12 5.414V14H5v2h8a1 1 0 001-1V5a1 1 0 00-.293-.707l-3-3A1 1 0 0010 1zm2 7c-1.333 0-2.275.814-2.645 1.553C1.986 10.29 2 11 2 11v5h2v-5s.014-.291.145-.553c.13-.261.188-.447.855-.447h4V8H8z",
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
},
fontWeight: 400,
fontFamily: "sans-serif",
overflow: "visible",
fillRule: "evenodd"
}), /* @__PURE__ */ React.createElement("path", {
d: "M7.707 6.293L6.293 7.707 7.586 9l-1.293 1.293 1.414 1.414L10.414 9z",
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,
marker: "none"
},
fontWeight: 400,
fontFamily: "sans-serif",
overflow: "visible"
}), /* @__PURE__ */ React.createElement("path", {
d: "M7 11H6v1h1zm0-5H6v1h1z",
style: {
marker: "none"
},
overflow: "visible"
}), /* @__PURE__ */ React.createElement("path", {
d: "M7 6c-.554 0-1 .446-1 1s.446 1 1 1 1-.446 1-1-.446-1-1-1zm0 4c-.554 0-1 .446-1 1s.446 1 1 1 1-.446 1-1-.446-1-1-1z",
style: {
marker: "none"
},
overflow: "visible"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgDocumentRevertSymbolicRtl);
var document_revert_symbolic_rtl_default = Memo;
export {
document_revert_symbolic_rtl_default as default
};