adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
96 lines (95 loc) • 2.94 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgGoHomeSymbolic = (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.023 16",
...props
}, /* @__PURE__ */ React.createElement("g", {
fill: "#474747"
}, /* @__PURE__ */ React.createElement("path", {
d: "M2.996 4.986A1 1 0 002.012 6v7a1 1 0 001 1h10a1 1 0 001-1V6a1 1 0 10-2 0v6h-8V6a1 1 0 00-1.016-1.014z",
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"
}), /* @__PURE__ */ React.createElement("path", {
d: "M8.031 1a1 1 0 00-.601.186l-7 5a1 1 0 101.162 1.628l6.42-4.585 6.418 4.585a1 1 0 101.162-1.628l-7-5A1 1 0 008.032 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",
shapePadding: 0,
isolation: "auto",
mixBlendMode: "normal"
},
color: "#000",
fontWeight: 400,
fontFamily: "sans-serif",
overflow: "visible"
}), /* @__PURE__ */ React.createElement("path", {
d: "M6.012 8h3v6h-3z",
style: {
marker: "none"
},
color: "#bebebe",
overflow: "visible"
}), /* @__PURE__ */ React.createElement("path", {
d: "M15.512 7a.499.499 0 100 1 .499.499 0 100-1zm-15 0a.499.499 0 100 1 .499.499 0 100-1z"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgGoHomeSymbolic);
var go_home_symbolic_default = Memo;
export {
go_home_symbolic_default as default
};