adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
38 lines (37 loc) • 1.25 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgAuthSimSymbolic = (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: "M4 0C2 0 2 2 2 2v12c0 2 2 2 2 2h8s2 0 2-2V3l-3-3zm1 6l.998.006v2h-2L4 7s0-1 1-1zm6 0c1 0 1 1 1 1l-.002 1.002h-2v-2zm-4.002.006h2v2h-2zm-3 2.996h8V11H12v2c0 1-1 1-1 1l-1.002-.002.002-2.996H3.998zm6.002 2h1.998V11H10zm-6.002 1h2v2L5 14c-1 0-1-1-1-1zm3 0h2v2h-2z",
fill: "#2e3436"
})));
return render(rest, ...restArgs);
};
const Memo = memo(SvgAuthSimSymbolic);
var auth_sim_symbolic_default = Memo;
export {
auth_sim_symbolic_default as default
};