UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

54 lines (53 loc) 2.25 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgInputMouseSymbolic = (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.009", ...props }, /* @__PURE__ */ React.createElement("g", { fill: "#2e3436" }, /* @__PURE__ */ React.createElement("path", { d: "M8.062.01c-.454.049-.883.22-1.25.5C6.324.88 6 1.463 6 2.196a.52.52 0 00.5.507.52.52 0 00.5-.507c0-.45.172-.704.437-.907.266-.202.664-.3 1.063-.28.399.018.784.153 1.062.405.279.253.47.585.47 1.125 0 2.166 1.463 3.51 3 3.47.856-.023 1.687-.478 2.25-1.313l-.563-1c-.376.915-1.068 1.295-1.719 1.312-.96.025-1.969-.73-1.969-2.469 0-.792-.337-1.443-.812-1.875C9.743.235 9.138.038 8.53.01c-.151-.007-.317-.016-.469 0zM15 1.977v.156l.781 1.375c.012-.04.021-.083.031-.125zm0 .375c-.006.106-.02.214-.031.312l.719 1.22c.023-.063.041-.123.062-.188zm-.063.5c-.013.09-.044.166-.062.25l.656 1.125c.03-.061.067-.124.094-.188zm-.093.437c-.024.09-.066.17-.094.25l.594 1.032c.04-.066.088-.119.125-.188z", style: { lineHeight: "normal", InkscapeFontSpecification: "Sans", textIndent: 0, textAlign: "start", textDecorationLine: "none", textTransform: "none", marker: "none" }, color: "#000", fontWeight: 400, fontFamily: "Sans", overflow: "visible" }), /* @__PURE__ */ React.createElement("path", { d: "M5 4.01c-1.108 0-2 .891-2 2v2h3v-4zm2 0v4h3v-2c0-1.109-.892-2-2-2zm-4 5v2.25c0 2.215 1.56 3.75 3.5 3.75 1.939 0 3.5-1.535 3.5-3.75V9.01H6z" })))); return render(rest, ...restArgs); }; const Memo = memo(SvgInputMouseSymbolic); var input_mouse_symbolic_default = Memo; export { input_mouse_symbolic_default as default };