adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
84 lines (83 loc) • 2.56 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgSidebarHideSymbolic = (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: "M7.994 5h-1c-.31 0-.552.09-.75.281L3.588 8l2.656 2.719c.198.19.44.281.75.281h1v-1c0-.257-.13-.528-.313-.719L6.401 8l1.28-1.281c.183-.19.313-.462.313-.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(SvgSidebarHideSymbolic);
var sidebar_hide_symbolic_default = Memo;
export {
sidebar_hide_symbolic_default as default
};