UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

40 lines (39 loc) 1.74 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgInputGamingSymbolic = (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: "M2.246 3c-.153 0-.256.073-.291.203L.26 11.824C.035 12.67 1.821 13.681 3 13l2.75-4h4.5L13 13c1.178.68 2.965-.33 2.738-1.176l-1.693-8.62c-.035-.131-.14-.204-.291-.204zM4.25 4h.5a.25.25 0 01.25.25V5h.75a.25.25 0 01.25.25v.5a.25.25 0 01-.25.25H5v.75a.25.25 0 01-.25.25h-.5A.25.25 0 014 6.75V6h-.75A.25.25 0 013 5.75v-.5A.25.25 0 013.25 5H4v-.75A.25.25 0 014.25 4zm7.214 0a.5.5 0 01.036 0 .5.5 0 01.5.5.5.5 0 01-.5.5.5.5 0 01-.5-.5.5.5 0 01.464-.5zm-1 1a.5.5 0 01.036 0 .5.5 0 01.5.5.5.5 0 01-.5.5.5.5 0 01-.5-.5.5.5 0 01.464-.5zm2 0a.5.5 0 01.036 0 .5.5 0 01.5.5.5.5 0 01-.5.5.5.5 0 01-.5-.5.5.5 0 01.464-.5zm-1 1a.5.5 0 01.036 0 .5.5 0 01.5.5.5.5 0 01-.5.5.5.5 0 01-.5-.5.5.5 0 01.464-.5z", color: "#000", overflow: "visible", fill: "#2e3436" }))); return render(rest, ...restArgs); }; const Memo = memo(SvgInputGamingSymbolic); var input_gaming_symbolic_default = Memo; export { input_gaming_symbolic_default as default };