adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
38 lines (37 loc) • 1.27 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgUserAwaySymbolic = (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("path", {
d: "M3.5 1A2.495 2.495 0 001 3.5v5C1 9.885 2.115 11 3.5 11h6.375L13 15v-4.063A2.486 2.486 0 0015 8.5v-5C15 2.115 13.885 1 12.5 1zM8 3h1c.276 0 .538.1.719.281l2 2 .687.719-.687.719-2 2A1.015 1.015 0 019 9H8V8c0-.276.1-.538.281-.719L8.562 7H4V5h4.563l-.282-.281A1.015 1.015 0 018 4z",
fill: "#474747"
})));
return render(rest, ...restArgs);
};
const Memo = memo(SvgUserAwaySymbolic);
var user_away_symbolic_default = Memo;
export {
user_away_symbolic_default as default
};