adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
84 lines (83 loc) • 2.57 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgSidebarShowSymbolic = (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",
fontWeight: 400,
fontFamily: "sans-serif",
fill: "#2e3436"
}, /* @__PURE__ */ React.createElement("path", {
d: "M3.994 5h1c.31 0 .552.09.75.281L8.4 8l-2.656 2.719c-.198.19-.44.281-.75.281h-1v-1c0-.257.13-.528.312-.719L5.588 8 4.306 6.719c-.182-.19-.312-.462-.312-.719z",
style: {
lineHeight: "normal",
textIndent: 0,
textAlign: "start",
textDecorationLine: "none",
textDecorationStyle: "solid",
textDecorationColor: "#000",
textTransform: "none",
whiteSpace: "normal",
isolation: "auto",
mixBlendMode: "normal",
solidColor: "#000",
solidOpacity: 1,
marker: "none"
},
overflow: "visible"
}), /* @__PURE__ */ React.createElement("path", {
d: "M2.994 1v2h7v10h-7v2h7s.459.014.947-.23c.489-.245 1.053-.937 1.053-1.77V3c0-.833-.564-1.525-1.053-1.77C10.453.986 9.994 1 9.994 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
},
overflow: "visible",
fillRule: "evenodd"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgSidebarShowSymbolic);
var sidebar_show_symbolic_default = Memo;
export {
sidebar_show_symbolic_default as default
};