UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

68 lines (67 loc) 2.14 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgFolderNewSymbolic = (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: "M12 10.008v1.997h-2v1.997h2v1.996h2v-1.996h2v-1.997h-2v-1.997z" }), /* @__PURE__ */ React.createElement("path", { d: "M2 1s-.459-.014-.947.23C.564 1.475 0 2.167 0 3v10s-.014.459.23.947C.476 14.436 1.168 15 2 15h7v-2H2V3h4.586l1.707 1.707A1 1 0 009 5h5v4h2V5s.014-.459-.23-.947C15.525 3.564 14.833 3 14 3H9.414L7.707 1.293A1 1 0 007 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 }, color: "#000", fontWeight: 400, fontFamily: "sans-serif", overflow: "visible", fillRule: "evenodd" })))); return render(rest, ...restArgs); }; const Memo = memo(SvgFolderNewSymbolic); var folder_new_symbolic_default = Memo; export { folder_new_symbolic_default as default };