adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
96 lines (95 loc) • 2.92 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgUserHomeSymbolic = (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: "M3.008 4.986A1 1 0 002.023 6v7a1 1 0 001 1h10a1 1 0 001-1V6a1 1 0 10-2 0v6h-8V6a1 1 0 00-1.015-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.001 1.001 0 101.164 1.628L8.012 3.23l6.418 4.585a1.001 1.001 0 101.164-1.628l-7-5A1 1 0 008.03 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 8.01h3.03V13h-3.03z",
style: {
marker: "none"
},
color: "#bebebe",
overflow: "visible"
}), /* @__PURE__ */ React.createElement("path", {
d: "M15.012 7h1v1h-1zm-15 0h1v1h-1z"
}))));
return render(rest, ...restArgs);
};
const Memo = memo(SvgUserHomeSymbolic);
var user_home_symbolic_default = Memo;
export {
user_home_symbolic_default as default
};