UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

72 lines (71 loc) 2.3 kB
import * as React from "react"; import { memo } from "react"; import cx from "clsx"; const SvgScannerSymbolic = (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("g", { color: "#000", fill: "#474747" }, /* @__PURE__ */ React.createElement("path", { d: "M3 0c-.579 0-1.06.2-1.469.563a1.7 1.7 0 00-.5.75c-.11.332-.112.774.063 1.125l1 2c.088.177.203.427.375.687.24-.073.494-.125.75-.125h9.562c.256 0 .51.052.75.125.172-.26.287-.51.375-.688l1-2c.175-.35.173-.792.063-1.124a1.7 1.7 0 00-.5-.75A2.136 2.136 0 0013 0zm.125 2h9.75l-.781 1.563c-.118.237-.177.37-.219.437h-7.75c-.042-.066-.1-.2-.219-.438zM4 6c-.488 0-.935.144-1.313.438C2.31 6.73 2 7.218 2 7.78V16h12V7.781c0-.562-.31-1.05-.688-1.343A2.095 2.095 0 0012 6zm0 1h8v6H4zm7 7h1v1h-1z", style: { lineHeight: "normal", InkscapeFontSpecification: "Sans", textIndent: 0, textAlign: "start", textDecorationLine: "none", textTransform: "none", marker: "none" }, fontWeight: 400, fontFamily: "Sans", overflow: "visible" }), /* @__PURE__ */ React.createElement("path", { d: "M3 4h10V2H3z", style: { marker: "none" }, overflow: "visible", opacity: 0.35 }), /* @__PURE__ */ React.createElement("path", { d: "M5 11.031h6v1H5z", style: { marker: "none" }, overflow: "visible" }), /* @__PURE__ */ React.createElement("path", { d: "M5 8.031h6V9l-6 1z", style: { marker: "none" }, overflow: "visible", opacity: 0.35 })))); return render(rest, ...restArgs); }; const Memo = memo(SvgScannerSymbolic); var scanner_symbolic_default = Memo; export { scanner_symbolic_default as default };