adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
68 lines (67 loc) • 2.33 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgFolderDragAcceptSymbolic = (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.014 16",
...props
}, /* @__PURE__ */ React.createElement("g", {
fill: "#474747"
}, /* @__PURE__ */ React.createElement("path", {
d: "M1.014 1a1 1 0 00-1 1v5.832a1 1 0 000 .326V13s-.014.459.23.947C.49 14.436 1.182 15 2.015 15h1.832a1 1 0 00.326 0h9.842s.459.014.948-.23c.488-.245 1.052-.937 1.052-1.77v-2a1 1 0 00-1-1h-11a1 1 0 00-1 1v2h-1V9h11a1 1 0 001-1V4a1 1 0 00-1-1H8.428L6.721 1.293A1 1 0 006.014 1zm1 2H5.6l1.707 1.707A1 1 0 008.014 5h4v2h-10zm3 9h9v1h-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",
shapePadding: 0,
isolation: "auto",
mixBlendMode: "normal"
},
color: "#000",
fontWeight: 400,
fontFamily: "sans-serif",
overflow: "visible",
fillRule: "evenodd"
}), /* @__PURE__ */ React.createElement("path", {
d: "M1.014 10h1s0-1 1-1l10-1V4h-5l-2-2h-5z",
fillRule: "evenodd"
}), /* @__PURE__ */ React.createElement("path", {
d: "M4.014 11h11v3h-11zm9-3h1v1h-1zm2 2h1v1h-1zm-12 0h1v1h-1z"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgFolderDragAcceptSymbolic);
var folder_drag_accept_symbolic_default = Memo;
export {
folder_drag_accept_symbolic_default as default
};