adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
38 lines (37 loc) • 1.2 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgAuthSmartcardSymbolic = (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-2V2c0-2-2-2-2-2zm1.508 2.977a.5.5 0 01.508.507v3.532h1V2.984h3v4.032h.511c.677-.01.677 1.01 0 1H9.016V3.984h-1v4.032h-3V3.484a.5.5 0 01.492-.507z",
fill: "#2e3436"
})));
return render(rest, ...restArgs);
};
const Memo = memo(SvgAuthSmartcardSymbolic);
var auth_smartcard_symbolic_default = Memo;
export {
auth_smartcard_symbolic_default as default
};