adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
68 lines (67 loc) • 2.23 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgFolderOpenSymbolic = (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: "M1 1a1 1 0 00-1 1v11s-.014.459.23.947C.476 14.436 1.168 15 2 15h1.832a1 1 0 00.326 0H14s.459.014.947-.23C15.436 14.525 16 13.833 16 13V9a1 1 0 00-1-1H4a1 1 0 00-1 1v4H2V3h3.586l1.707 1.707A1 1 0 008 5H7a1 1 0 100 2h6a1 1 0 001-1V4a1 1 0 00-1-1H8.414L6.707 1.293A1 1 0 006 1zm4 9h9v3H5z",
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: "M1 8h1s0-1 1-1h8L6 2H1z",
fillRule: "evenodd"
}), /* @__PURE__ */ React.createElement("path", {
d: "M4 9h11v5H4zm9-3h1v1h-1zm2 2h1v1h-1zM3 8h1v1H3z"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgFolderOpenSymbolic);
var folder_open_symbolic_default = Memo;
export {
folder_open_symbolic_default as default
};