adwaita-web
Version:
A GTK inspired toolkit designed to build awesome web apps
43 lines (42 loc) • 1.49 kB
JavaScript
import * as React from "react";
import { memo } from "react";
import cx from "clsx";
const SvgInputKeyboardSymbolic = (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.022 16",
...props
}, /* @__PURE__ */ React.createElement("path", {
d: "M1 2c-.554 0-1 .446-1 1v11c0 .554.446 1 1 1h13.006c.554 0 1-.446 1-1V3c0-.554-.446-1-1-1zm1.365 2h1.656v2h-2V4.393c0-.218.154-.393.344-.393zm2.656 0h2v2h-2zm3 0h2v2h-2zm3 0h1.657c.19 0 .343.175.343.393V6h-2zm-8 3h2v2h-2zm3 0h2v2h-2zm3 0h2v2h-2zm-6.656 4h10.313c.19 0 .343.175.343.393v1.214c0 .218-.153.393-.343.393H2.365c-.19 0-.344-.175-.344-.393v-1.214c0-.218.154-.393.344-.393z",
style: {
marker: "none"
},
color: "#bebebe",
overflow: "visible",
fill: "#2e3436"
})));
return render(rest, ...restArgs);
};
const Memo = memo(SvgInputKeyboardSymbolic);
var input_keyboard_symbolic_default = Memo;
export {
input_keyboard_symbolic_default as default
};